push_notification library

Classes

AndroidNotificationSpecifics
Android notification settings
BaseMessagingService
Base wrapper over any message service
NotificationController
Wrapper over surf notifications
NotificationPayload
notification base payload data
NotificationSpecifics
Specific notification settings for platforms
Notificator
Util for displaying notifications for android and ios
PushHandler
Notification handling
PushHandleStrategy<PT extends NotificationPayload>
abstract notification processing strategy
PushHandleStrategyFactory
Abstract factory for push notification strategies
PushNavigatorHolder
global navigator context storage
PushObserver
mixin to get navigator context

Constants

bodyArg → const String
'body'
callInit → const String
'initialize'
callRequest → const String
'request'
callShow → const String
'show'
channelName → const String
Channels and methods names
'surf_notification'
dataArg → const String
'data'
imageUrlArg → const String
'imageUrl'
notificationSpecificsArg → const String
'notificationSpecifics'
openCallback → const String
'notificationOpen'
permissionDeclineCallback → const String
'permissionDecline'
pushIdArg → const String
Arguments names
'pushId'
pushIdParam → const String
'localPushId'
titleArg → const String
'title'

Enums

MessageHandlerType

Typedefs

HandleMessageFunction(Map<String, dynamic> message, MessageHandlerType handlerType) → void
NotificationCallback(Map<String, dynamic> payload) → void
OnNotificationTapCallback(Map notificationData) → void
Callback notification clicks [...]
OnPermissionDeclineCallback() → void
Callback permission decline
StrategyBuilder(Map<String, dynamic> payload) PushHandleStrategy<NotificationPayload>
strategy builder function