Since android M the only way to ask permissions is to do so ant runtime but VK client app somehow manages to ask all of its permissions upon installation on all android versions. Below is a screenshot from pixel phone. Can anyone tell me how is it even possible?
They use targetSdkVersion lower than 23:
"If the device is running Android 6.0 (API level 23) or higher, and the app's targetSdkVersion is 23 or higher, the app requests permissions from the user at run-time [...] If the device is running Android 5.1.1 (API level 22) or lower, or the app's targetSdkVersion is 22 or lower, the system asks the user to grant the permissions when the user installs the app"
https://developer.android.com/guide/topics/permissions/requesting.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With