Starting from Android Marshmallow (6.0) SDK 23, there has been a big overhowl on how the permissions were given to the app.
First of all there are two types of permissions:
Normal permissions
Dangerous permission
When you install app prior SDK 23, it will automatically grant all permissions at install time. But from SDK 23, it has changed. Now onwards only normal permissions will be granted at intall time and the dangerous permissions will not be granted. So the permission group which are dangerous will need to be granted at runtime. It also means we have to check if the permission is granted or not. If not then we have to prompt the user to grant it. ELSE be ready for APP CRASH.
............will continue later
First of all there are two types of permissions:
Normal permissions
Dangerous permission
When you install app prior SDK 23, it will automatically grant all permissions at install time. But from SDK 23, it has changed. Now onwards only normal permissions will be granted at intall time and the dangerous permissions will not be granted. So the permission group which are dangerous will need to be granted at runtime. It also means we have to check if the permission is granted or not. If not then we have to prompt the user to grant it. ELSE be ready for APP CRASH.
............will continue later