Manage, Fetch & Request Device Permissions
Manage, Fetch & Request Device Permissions
Use this component to request runtime permissions and fetch permission status (whether the permission is granted or not).
To get started using it, you must use KmpPermissionsManager.
Request a runtime permission
To request a device runtime permission, please use the following:
_3KmpPermissionsManager.requestPermission(permission: Permission){_3 val response = it // whether the permission has been granted or not_3}
Check Permission Status
To check if a permission has already been enabled by the user, use the following:
_3KmpPermissionsManager.isPermissionGranted(permission: Permission){_3 val response = it // whether the permission has been granted or not_3}
Any Required Setup?
None