Skip to main content

Methods

MethodParametersReturnsNotes
GetState()PushStateCurrent notification state
Refresh()voidRe-check permission status
RegisterPushToken(token)stringvoidRegister FCM token with backend
RequestPushPermission()voidShow OS permission dialog
OpenNotificationSettings()voidOpen OS notification settings
GetPermission()string"Granted", "DeniedAlways", or "NotGranted"
AddListener(listener)Actionvoid
RemoveListener(listener)Actionvoid

PushState

FieldTypeNotes
PreferencesDictionary<string, bool>Notification category preferences
Permissionstring"Granted", "DeniedAlways", or "NotGranted"