Android 12 will boost Google Play Store alternatives
Android 12 The update will be beneficial for the Google Play Store alternatives, it seems. Updating will make it easier to update apps on third-party app stores, but keep your security and privacy at a high level in the process.
Android 12 will facilitate updates for Google Play Store alternatives
Google is probably doing this following pressure from Epic Games and government regulators. That being said, we don’t know the details, yet. Google only said it would be “easier for people to use other app stores on their devices,” adding that security is a high priority.
the Google I / O 2021 is still underway, so Google may share a few more details before it’s finished. Otherwise, we will know more about it in the near future, as the Android 12 Beta 1 version has already been released and the stable version is expected in August.
Having said all this, XDA Developers managed to get additional information. The source says Google has updated Android’s ‘PackageInstaller.SessionParams’ class with a new method called ‘setRequireUserAction’. This basically indicates whether user action is required before installing an app.
The default is “true” for any application that has specific permission, which is required for any application before you can install a package. This includes apps from third-party stores.
Four conditions must be met for these stores to benefit
That being said, such action will not be necessary if certain conditions are met. There are four conditions that must be met to avoid this process, in which case app installations from these stores would be transparent.
First, the installer must opt for the new behavior. Second, the app being installed should target API level 29 (Android 10) or higher. Google has noted that the target API level requirement will increase in future versions of Android. This is in accordance with the policy of Google Play.
The third requirement is for the installer to update or install an update on an app that it installed first. The last requirement indicates that the installer must declare the “UPDATE_PACKAGES_WITHOUT_USER_ACTION” permission.
If all of these conditions are met, the update should be able to continue without special user permission. This will allow third-party stores to perform updates similar to the Google Play Store.