It would be nice to have callbacks for the AppSettingsDialog actions similar to the ones that are already in place for the rationale dialog.
Use case: One of my tabs requires a permission before it can load any content. In the event that the user permanently denies the permission, a "click to fix" Snackbar is displayed that re-checks permissions. If the user cancels out of the resulting AppSettingsDialog, however, the Snackbar has been dismissed and the user now has no way of triggering the permission check. With the callback, I could re-display the Snackbar.
Basic Information
Device type: Samsung Galaxy S8 OS version: Oreo 8.0 EasyPermissions version: 1.3.0
Describe the problem
It would be nice to have callbacks for the
AppSettingsDialog
actions similar to the ones that are already in place for the rationale dialog.Use case: One of my tabs requires a permission before it can load any content. In the event that the user permanently denies the permission, a "click to fix" Snackbar is displayed that re-checks permissions. If the user cancels out of the resulting
AppSettingsDialog
, however, the Snackbar has been dismissed and the user now has no way of triggering the permission check. With the callback, I could re-display the Snackbar.