config.appid
– Pushwoosh application code.config.projectid
– GCM project number for Android platform.config.serviceName
– MPNS service name for wp8 platform.success
– success callback. Push token is passed as “status.pushToken” parameter to this callbackfail
– error callbacksuccess
– success callbackfail
– error callbackconfig
– object with custom device tagssuccess
– success callback. Push token is passed as “status.pushToken” parameter to this callbackfail
– error callbacksuccess
– success callback. Receives tags as parametersfail
– error callbacksuccess
– success callback. success
– getPushwooshHWID callbackcallback
– success callback. Receives object with following properties:{
”enabled” : notificaions enabled flag.
”pushBadge” : badges permission granted. (iOS only)
”pushAlert” : alert permission granted. (iOS only)
”pushSound” : sound permission granted. (iOS only)
}
error
— error callbackbadgeNumber
– icon badge numbercallback
– success callbackbadgeNumber
— incremental icon badge numbercallback
– success callbackuserId
– user string identifierevent
– event to triggerattributes
– object with additional event attributesconfig.msg
– notification messageconfig.seconds
– notification delay in secondsconfig.userData
– additional data to pass in notificationsuccess
– success callbackfail
– error callbacktype
– Sound type (0 – default, 1 – no sound, 2 – always)type
– Vibration type (0 – default, 1 – no vibration, 2 – always)on
– enable/disable screen unlock (disabled by default)on
– enable/disable LED blink (disabled by default)color
– LED color in ARGB integer formatsuccess
– success callbackmessage
– (string
) Push notification messageuserdata
– (object
/array
) Push notification custom dataonStart
– (boolean
) Is launch notificationforeground
– (boolean
) Is notification received in foregroundandroid
– (object
) Android specific notification payloadios
– (object
) iOS specific notification payloadwp8
– (object
) Windows Phone specific notification payloadwindows
– (object
) Windows specific notification payloadpush-receive
event. See plugin customization guide for controlling this behavior.