Back to portal
OneSignal Legacy Demo
App Only: To use this demo for testing open the current page within your Median.co app
Switch to OneSignal v5 Demo →
OneSignal Info Function
Clear
Call median_onesignal_info()
Get OneSignalInfo via Promise
Get OneSignalInfo via Callback
Send Data to App Demo
push_opened callback demo
OneSignal External User ID
Set External User ID
Remove External User ID
Registration and Privacy
Register - Trigger Prompt
Grant GDPR Consent
Revoke Consent
Tags
Show Tags Native UI
Get Tags
Set Placeholder Tags
Delete "tag1" and "tag2"
Delete All Tags
Tags JSON:
OneSignal Ignore Push in Foreground mode
Ignore Push in Foreground mode
Allow Push in Foreground mode
In-App Messaging
OneSignal Add Trigger
OneSignal Add Multiple Triggers
OneSignal Remove Trigger for key median_key1
OneSignal Get Trigger Value for median_key1
OneSignal Pause In-App Messages
OneSignal Resume In-App Messages
OneSignal Set In-App Message Handler
Handler Data: