Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import link with share button #109

Open
faustaahmad opened this issue Nov 14, 2022 · 8 comments
Open

Import link with share button #109

faustaahmad opened this issue Nov 14, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@faustaahmad
Copy link

Faster than copy paste & "Add App"
Better if it can work directly in background, example:
App repo link » Share » Import to Obtainium » Popup confirmation or directly import app in background

I dont know why adding app is much more slower than using import from url list, consider removing "Add App" entirely & only use "Import/Export"

@ImranR98
Copy link
Owner

Adding an app is slow because the APK needs to be downloaded first so it can be compared to existing apps installed on the OS and the "install status" can be set correctly.

The reason this is not done for import/export is that it would take too long - better to import first then let the user install when needed. The downside is that we can't compare imported apps to installed apps to check if they are already installed, so the install status can be incorrect. This is why there is a warning about this on the import/export page.

As for being able to accept shared, URLs, I'll look into that. Probably would end up using this plugin.

@ImranR98 ImranR98 added the enhancement New feature or request label Nov 14, 2022
@S7venLights
Copy link

Just mentioning #68 here as relevant history on this topic

@rtsisyk
Copy link

rtsisyk commented Feb 20, 2024

It would be nice to have a deep link that adds all the required metadata for the app into Obtanium. This link can be encoded into a QR code, placed on web-site, shared via social networks, etc. Currently I added instructions for my users, but I hope to see "Add app" part automated via a deep link.

@rtsisyk
Copy link

rtsisyk commented Feb 20, 2024

Something like that:

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <data android:scheme="obtanium"/>
      </intent-filter>

obtanium://add?source=github&repo=https://github.com/ImranR98/Obtainium&xxx.... Android will open the app and pass this URL to intent.getData().

@biodranik
Copy link

It should be easy to introduce a special URL scheme like obtanium://link-to-the-releases-page-or-apk-on-github

And support/intercept https://github.com/ URLs too to extract necessary data from them.

That should allow "one-click installations" for users without complex instructions.

@rtsisyk
Copy link

rtsisyk commented Feb 20, 2024

Interception of third-party links doesn't work in Android anymore.

@inson1
Copy link
Contributor

inson1 commented Feb 28, 2024

qr code would be also good

@pective
Copy link

pective commented Nov 8, 2024

any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants