S Scantech Well-Known Member Licensed User Longtime User Mar 19, 2018 #1 Is it required to set runtime permission with targetapiversion value set above 23 in manifest? I tested one of my app with Android 7 without using runtimes and it did not show any errors. I set targetapiversion at 26. Last edited: Mar 19, 2018
Is it required to set runtime permission with targetapiversion value set above 23 in manifest? I tested one of my app with Android 7 without using runtimes and it did not show any errors. I set targetapiversion at 26.
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2018 #2 Runtime Permissions (Android 6.0+ Permissions) Scantech said: Is it required to set runtime permission with targetapiversion value set above 23 in manifest? Click to expand... Yes. Scantech said: I tested one of my app with Android 7 without using runtimes and it did not show any errors. I set targetapiversion at 26. Click to expand... 1. Maybe there are no dangerous permissions. Click on Logs - List Permissions and look for the starred permissions. 2. When you reinstall an existing app it keeps the previous implicitly granted permissions. This means that if you changed the targetSdkVersion to 26 and ran your program without uninstalling it then you will not need to deal with runtime permissions. Uninstall your app and try again. Upvote 0
Runtime Permissions (Android 6.0+ Permissions) Scantech said: Is it required to set runtime permission with targetapiversion value set above 23 in manifest? Click to expand... Yes. Scantech said: I tested one of my app with Android 7 without using runtimes and it did not show any errors. I set targetapiversion at 26. Click to expand... 1. Maybe there are no dangerous permissions. Click on Logs - List Permissions and look for the starred permissions. 2. When you reinstall an existing app it keeps the previous implicitly granted permissions. This means that if you changed the targetSdkVersion to 26 and ran your program without uninstalling it then you will not need to deal with runtime permissions. Uninstall your app and try again.