0Pricing
Android Academy · Lesson

Handling Denials and Rationale

Explain why you need a permission.

Handling Denials

Users can deny a permission, and they can deny it permanently. A polished app handles all states gracefully: granted, denied once, and denied with "don't ask again".

Three Possible States

After a request you may be in one of three states:

  • Granted: proceed with the feature
  • Denied (can ask again): explain and re-request
  • Permanently denied: the dialog no longer appears; guide the user to Settings

All lessons in this course

  1. The Android Permission Model
  2. Requesting Permissions in Compose
  3. Handling Denials and Rationale
  4. Best Practices for Privacy
← Back to Android Academy