Postingan

Menampilkan postingan dengan label Android Gradle Plugin

Preparing your Gradle build for package visibility in Android 11

Gambar
Posted by David Winer , Product Manager One of the central themes for Android 11 has been protecting user privacy. On Android 10 and earlier, you could query the full set of installed apps using methods like queryIntentActivities() . Often, however, this approach provides much more access than most apps need to implement their functionality. To better protect user privacy, we updated how apps view and interact with other installed apps on Android 11. To provide better accountability for access to installed apps, apps targeting Android 11 (API level 30) will see a filtered list of installed apps by default. The new <queries> element in your app or library’s Android manifest allows you to describe which other apps you might need to interact with. For more information about this change, check out our Medium post on package visibility in Android 11. Android Studio and Gradle support If you are using Android Gradle plugin 4.1+, your tools should work with the new <queries> de...