Classes

Classes

InAppMessage
InAppMessageAction
InAppMessageBannerContent
InAppMessageCardContent
InAppMessageImageOnlyContent
InAppMessageModalContent
InAppMessageReportingCallback
InAppMessageWebViewContent
ConsentError
Error
InternalError
InvalidArgumentError
NotificationPayloadError
PermissionError
PluginError
PopupError
PushNotificationsNotSupportedError
RegistrationInProgressError
SubscriptionStateError
UserCancellationError

Namespaces

WonderPush
WonderPushPluginSDK
Storage
WonderPushSDK
Constants
Data
Developer
Errors
Geo
Notification
Plugins
Rest

Events


WonderPushCallMethodEvent

WonderPushEvent to indicate a method call.

Properties:
Name Type Description
type string

"method"

method string

The method name

arg string

The method arg


WonderPushNotificationOpenedEvent

WonderPushEvent to indicate a click on a notification action of type "Let application code decide", e.g. a target URL of wonderpush://notificationOpen/broadcast

Properties:
Name Type Description
type string

"notificationOpened"

event Object

The browser "notificationclick" event

WonderPushSDK WonderPushSDK

The SDK instance


WonderPushSessionEvent

WonderPushEvent to indicate SDK initialization state.

Properties:
Name Type Description
type string

"session"

state WonderPushSDK.SessionState

The session initialization state

WonderPushSDK WonderPushSDK

The SDK instance

See:

WonderPushSubscriptionEvent

WonderPushEvent to indicate push notification subscription state.

Properties:
Name Type Description
type string

"subscription"

state WonderPushSDK.SubscriptionState

The push notification subscription state

WonderPushSDK WonderPushSDK

The SDK instance

See:

WonderPushTrackEventEvent

WonderPushEvent to indicate a that WonderPush.trackEvent was called

Properties:
Name Type Description
type string

"trackEvent"

event Object

The data passed to trackEvent

Properties
Name Type Description
type string

The type of trackEvent

custom Object

The custom properties passed to trackEvent

occurrences Object

A dictionary of occurrences with keys "allTime", "last1days", etc.

WonderPushSDK WonderPushSDK

The SDK instance