IosPermissionHandlerRegistry

A registry for developers to provide custom handlers for dev.brewkits.grant.RawPermission on iOS.

Since iOS permissions are tied to specific frameworks, the core library cannot possibly link against all of them without causing App Store rejections for missing Info.plist keys.

If you need to request a permission not covered by dev.brewkits.grant.AppGrant, you can implement PermissionHandler and register it here.

Functions

Link copied to clipboard
fun register(identifier: String, handler: PermissionHandler)

Registers a custom handler for a specific RawPermission identifier.