Android Question Android Permission above API 23

Scantech

Well-Known Member
Licensed User
Longtime User
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:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Runtime Permissions (Android 6.0+ Permissions)
Is it required to set runtime permission with targetapiversion value set above 23 in manifest?
Yes.

I tested one of my app with Android 7 without using runtimes and it did not show any errors. I set targetapiversion at 26.
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
Top