← Home馃悶

Push Notification Actions Demo

Login

Extra Keys
Meta

Set User Info

Extra Keys
Meta

Get User Info

Logout

Notification Permission

Native bridge: window.WTN.Permission.request({ permission: "notification", callback }) 路 window.WTN.Permission.check({ permissions: ["notification"], callback })

Subscription

Promise-based: window.WTN.Notification.subscribe() / unsubscribe() / isSubscribed()

Tags

Promise-based: setTag({...}) 路 getTags() 路 removeTag(["key", ...])

Set Tag
Remove Tag(s)

External User ID

Promise-based: window.WTN.Notification.setExternalUserId("id") / removeExternalUserId()

App Notification Settings

Native deep link: w2n://notification-screen

Open Notification Screen

Also available as a bridge call (no response): window.WTN.Notification.openAppNotificationPage()

Bridge call (no response): window.WTN.Notification.showBlockedScreen()

Callback Log
Callback results will appear here, newest first...

Loop Function Caller

Pick a function and call it N times using the values currently filled in the sections above.

Function

Left: number of calls 路 Right: delay between calls in ms (0 = back-to-back)

Random Data Loop Caller

Calls the chosen SDK function N times, each call with freshly generated random data (ignores the form fields above).

Function

Left: number of calls 路 Right: delay between calls in ms