A year ago, we learned that Google will make some noticeable changes in Android 12. After those upgrades, users will be able to use other app stores more easily. Of course, Google will take into consideration the safety as well. However, we should state that there was no word about what specific changes it would make in this version of Android. But in the official blog post, the company confirmed that it’s “delivering on [its] promise to make third-party app stores easier to use on Android 12.” Digging in the developer documentation, XDA found what changes are being made.
It turns out that Google has updated Android’s PackageInstaller.SessionParams class with a new method called setRequireUserAction. The latter shows whether or not user action should be required before an app install is allowed.
Before installing an app, you have to grant the install unknown apps permission. And when you want to update an app installed from a source other than Google Play, you have to manually tap “update” on this prompt.
But now, you don’t have to implement any action if the app install/update meets the following conditions:
- The installer opts into the new behavior.
- The app that’s being installed targets API level 29 (Android 10) or higher.
- The installer is either updating itself or installing an update to an app it first installed.
- The installer declares the UPDATE_PACKAGES_WITHOUT_USER_ACTION permission.
Android 12 Beta Eligible Devices
Well, even now you can try out the Android 12 system. But running a developer Android beta version is not a good idea unless you’re actually an Android developer. Usually, Beta versions are not stable. Moreover, your phone will got some limits in terms of functionality. So we highly recommend to wait for the public version that should be available later this year.
Google Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL, Pixel 4, Pixel 4 XL, Pixel 4a, Pixel 4a (5G) or Pixel 5;
OnePlus 9, OnePlus 9 Pro;
Mi 11 Ultra, Mi 11, Mi 11i and Mi 11X Pro;
Vivo iQOO 7;
OPPO Find X3 Pro;