Obtainium
Obtainium copied to clipboard
Import link with share button
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"
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.
Just mentioning #68 here as relevant history on this topic
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.
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().
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.
Interception of third-party links doesn't work in Android anymore.
qr code would be also good