Skip to content

Permission Handling #14131

@alperozturk96

Description

@alperozturk96
  1. After the first rejection, the storage permission request dialog does not appear again.
  2. There is no need to use the (permissionRequired: Boolean = false) parameter because if the user lacks permission, we must request it again regardless.
  3. An internal boolean flag (isStoragePermissionRequested) is unnecessary for determining whether to request storage permission.
  4. A custom DialogFragment for requesting permission is not required.

If shouldShowRequestPermissionRationale returns true, display the native alert dialog (no need for StoragePermissionDialogFragment). Otherwise, show a Snackbar with an action to open the settings.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    ☑️ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions