Reasons why dynamic permission application is not supported in Android

  • 2020-06-12 10:35:00
  • OfStack

As an Android developer, it's not unusual to add permissions to your application, but to write something like this in mainifest < uses-permission android:name="android.permission.INTERNET" / > So Here I want to raise a question: does the Android platform support dynamic application permissions?

It is believed that many people answer no, and of course this answer is correct, but why not? It is more important to know the reason.

The reason cited

Android does not provide a mechanism for dynamic application permissions.

The current static application can put security concerns in the application before the installation of a prompt to resolve, and if the application is dynamic, the application box will pop up from time to time. This user experience is terrible.

1 some permissions apply need to depend on the equipment feature (features), using static application can clearly know the characteristics of equipment are in need, Google Play according to the characteristics of program needs and characteristics of the target device has to decide whether the device were presented and installation. The dynamic application feature. Have no idea what we need may result in can show applications cannot be installed.

It may pose a safety hazard.

read

http://stackoverflow.com/questions/4838779/get-android-permission-dynamiclly
http://stackoverflow.com/questions/7517171/is-there-any-way-to-ask-permission-programmatically


Related articles: