How can i check if permission is granted or not?

Hi there i just wanna to check if specific permission is granted or not while starting the app is there any way to do so ? like sometime user remove the permission so i can ask again for a permission or create a popup to grant permission first to use the application ....

Perhaps
permission

permission2

no its not this means i wanna to check if permission is granted or not .... because this block only run when user click on allow but if its already allowed then how can i check it ?

For example:

Yes, but the user also could revoke permissions again in the settings of the app...

I agree, to have a method which is able to check, if a permission has been granted would be nice to have... @ewpatton, what do you think?

Probably there is an extension available, which is able to do it?

Taifun

Try this extension

Taifun

2 Likes

Thanks it sure help :grinning_face_with_smiling_eyes:

1 Like

Yes, absolutely - and all other builders have it.

Hey @Taifun / @Anke i am getting this error every time i used to request permission list in app inventor

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/ContextCompat;

any idea how to solve it ?

1 Like

Thanks again it works perfect :grinning_face_with_smiling_eyes:

Any one of them is welcome to contribute it back.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.