AndroidPermissionUtil

Android notification utility class for making it easier to ask permission from user.

Constructors

Link copied to clipboard
constructor(activity: ComponentActivity)

Functions

Link copied to clipboard
fun askNotificationPermission(onResult: (Boolean) -> Unit = {})

Asks notification permission from user