-
Notifications
You must be signed in to change notification settings - Fork 97
Implement android 6.0 permissions API #203
Comments
Now as per android 6.0, we need to implement runtime permissions. So we need to identify, when to ask for permission. We are using two permissions SEND_SMS and location services in PB.
I will prioritize this to work into, as soon as you reply, |
Hi @jmatsushita So here us the proposed flow:-- A) First time configuring the app
since in android 6 user can manually disable the permissions from setting,so after setup, when we start the app, there also we need to ask for permissions. 1)User opens app(calculator screen) Also, One more use case is:--in case permissions are disabled manually.... |
Further to this, I am following below steps :-- During Setup Flow:-- 1)SMS and location services should be asked in continuation. If both permissions are granted then only setup process is continued. 2)In case any one of the permissions is not granted by user,setup process is not continued.
|
Hi @jmatsushita , Here is the detailed permission implementation flow, as per android design guild lines.Please give your inputs, so that I can work on this further. FYI-- The following work flow is during the first time setup of the app. Step 1:-- We are checking for permissions (two permissions) as soon as user clicks SETUP If Step 5 is “Yes”—since the “Dont ask again” checkbox is clicked, we cannot ask permissions again as per android design guidelines. So either we quit the app, or install the app, stating user that “he needs to go to Settings to activate the permissions, for the app to function properly) I need your inputs here:-- **So for Step 5 (Yes case, and no case), we need messages to display to users.
Assumption:--
These can be toast messages or my preference is for using snackBar messages Also, |
… tak benefit of permisiion request callbacks
Requesting permissions at runtime
The text was updated successfully, but these errors were encountered: