GrantStore
An abstraction for tracking the history of permission requests.
Grant uses an in-memory storage strategy by default, which is the industry standard for mobile permission libraries. This ensures that the OS native status remains the source of truth while providing enough session context to differentiate between "Never Asked" and "Denied Always" on Android.
Inheritors
Functions
Retrieves the session-cached status for a permission.
Extension for getting the status of any GrantPermission.
Checks if a custom RawPermission has been requested.
Checks if a permission has been requested during this app session or install.
Extension for checking if any GrantPermission has been requested before.
Marks a custom RawPermission as having been requested.
Marks a permission as having been requested.
Extension for marking any GrantPermission as requested.
Caches the status for a permission in the current session.