enableUserNotifications

suspend fun PushManager.enableUserNotifications(promptFallback: PermissionPromptFallback = PermissionPromptFallback.None): Boolean

Enables user notifications on Airship and tries to prompt for the notification permission.

Return

true if the notifications are enabled, otherwise `false.

Parameters

promptFallback

Prompt fallback if the the notification permission is silently denied.