gradle - Android: Does changing API level to 23 affect the way a permission in the manifest is set up? -


this question has answer here:

i not expert in android development please bear me.

i change app android 19 23. android api 23 changed way permissions work. happens in api 23 instead of asking permissions in app installation, asks permission on run time.

my question need change way permission set in andoid manifest? because tried change api 23 in build.gradle , seems still work no differences.

no. targetsdkversion, minsdkversion etc set in code has no effect on how permissions handled, rather dependent on device target app running. android changed way permissions asked in android 6.0(api 24 devices). have make ask permissions @ runtime. official documentation asking runtime permissions user.


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -