Specific features of Canvas can be triggered manually through the use of Javascript functions.
These functions must be implemented directly on the website side, and will only work when the website is viewed inside the app.
Below you can find a list of all the available functions:
nativeFunctions.onesignalSendTags([$tags])
Adds an array of tags to the user profile in OneSignal
nativeFunctions.onesignalDeleteTags([$tags])
Removes an array of tags from the user profile in OneSignal
nativeFunctions.onesignalSetExternalUserId($id)
Adds an external ID to the user profile in OneSignal
nativeFunctions.onesignalRemoveExternalUserId()
Removes an external ID from the user profile in OneSignal
nativeFunctions.onesignalSetEmail($email)
Adds an email profile to OneSignal
nativeFunctions.onesignalLogoutEmail()
Removes the current email profile from OneSignal
Leave a Reply