How to ask more than 1 Permissions

How to ask more than 1 Permissions?
please help me with blocks if possible

What do you mean ?

i want this 2 permissions
android.permission.READ_PHONE_STATE
android.permission.ACCESS_COARSE_LOCATION

haw can i get this?

Please explain , what do you want for ?

i have used thesw blocks to get these 2 permissions
but when screen1 initialise it only asks for 1 permission,
so how can i get second permission…

Hi,
Ask one permission on Screen Initialize and then use the OnPermissionGranted Block to ask for 2nd permission if it is not granted.

You have to check if the permission is granted or not otherwise it may cause some loop issue

1 Like

Thanks for Right Solution & Attension. i Have Solved my problem using your solution.

1 Like

hello 1 more question if i need 3 or 4 permission how can i do this

1 Like

depends from your android version.
Everyone can manualy activate permission.ACCESS_COARSE_LOCATION from settings.

1 Like

i have tried this and it worked. thanks

1 Like

You can do it by using the if Block to check the Permission name then calling the next permission one by one

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