You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can check for PermissionRationale before using Grant. That way you can decide to show the snackbar or not. I put the following code in my Utility class for that:
Can ActivityCompat.shouldShowRequestPermissionRationale() be implemented for cases where user denies permission in first attempt?
See http://developer.android.com/reference/android/support/v4/app/ActivityCompat.html#shouldShowRequestPermissionRationale(android.app.Activity, java.lang.String)
The text was updated successfully, but these errors were encountered: