When would you use the ActivityCompat.shouldShowRequestPermissionRationale() function?

Advertisement

  • when a user first opens your app and you want to provide an explanation for the use of a given permission
  • when a user has previously denied the request for a given permission and selects “Tell me more”
  • when a user has previously denied the request for a given permission and you want to provide an explanation for its use
  • when a user has previously denied the request for a given permission and selected “Don’t ask again,” but you need the permission for your app to function
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend