AndroidPermissionsProvider

Android PermissionsProvider. isGranted is a plain ContextCompat.checkSelfPermission sweep. request needs an Activity to show the system dialog, so the foreground activity registers a requestBridge (ActivityResult-based); with no bridge registered (headless/no UI host) it degrades to reporting the current grant state instead of crashing.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard

Wired/cleared by the host activity. Launches the system dialog, resumes with grant map.

Functions

Link copied to clipboard
open suspend override fun isGranted(permission: AppPermission): Boolean
Link copied to clipboard
open suspend override fun request(permission: AppPermission): PermissionResult