PermissionsRequester
This class was created to work around the registerForActivityResult restrictions; it must be called before the lifecycle reaches the STARTED state or else it crashes.
One day there may be a nice api to use with Compose, and forget about this class. https://google.github.io/accompanist/permissions/
Properties
Functions
Link copied to clipboard
Link copied to clipboard
This must be called early in the lifecycle, before the corresponding lifecycle owner is STARTED.
Link copied to clipboard
This can be called from anywhere at any time as long as registerPermissionLauncher was called early in the app lifecycle.
Link copied to clipboard