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

Use update ownership API on initial app install #2078

Open
TommyTran732 opened this issue Jan 17, 2025 · 1 comment
Open

Use update ownership API on initial app install #2078

TommyTran732 opened this issue Jan 17, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@TommyTran732
Copy link

TommyTran732 commented Jan 17, 2025

Prerequisites
This is is not part of an existing issue.
I have checked the Obtainium Wiki.

Describe the feature
Set update ownership on app install (or at least, provide a toggle on whether users want it to be set). This will prevent Google Play Store from adding Obtanium installed apps to its update queue and prompt the user.
https://source.android.com/docs/setup/create/app-ownership

Additional context
Currently, the following app stores already use this new API:

  • Accrescent
  • Aurora Store
  • Google Play Store

Google Play Store's behavior is that when an app has an update ownership set (separate from installer of record), it will exclude it in Manage apps & devices -> Manage -> This device, and will also not show up in the list of apps that have updates available should the installed version be older than what is on the Play Store.

Obtanium currently does not set update-ownership, so the Play Store will add it to the app list and prompt the user to update Obtanium apps regardless of the installer of record. This is very annoying because I have apps that I explicitly want to only be updated via Obtanium.

Another related thing, though I am not sure if it is possible or not, is properly changing the update ownership. Currently, if an app has update ownership set, and someone tries to update it with Obtanium, Obtanium will trigger a system prompt to strip the update-ownership. It would be nice if it can somehow change the update-ownership to itself instead, but I don't know if the API for this exists.

@TommyTran732 TommyTran732 added enhancement New feature or request to check Issue has not been reviewed labels Jan 17, 2025
@TommyTran732
Copy link
Author

Oh yeah on another thought - this may not matter much with the likes of GOS but if you have privileged Play Services like on stock OS then you'd want to declare this so that Google Play Store won't take over the app updates. It is privileged there so it doesn't have to prompt users anyways.

@ImranR98 ImranR98 removed the to check Issue has not been reviewed label Jan 21, 2025
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

2 participants