OneSignal Push Notification
Last updated
Last updated
getPlayerId: It returns playerId from OneSignal - that can be used to send custom notification from OneSignalApis.
setExternalUserId: To set unique user Id to OneSignal.
removeExternalUserId: To remove externalUserId
setTags: To add custom data attributes to your OneSignal Users
Triggers: https://documentation.onesignal.com/docs/iam-triggers
addTrigger
addTriggers
removeTrigger
removeTriggers
getTriggerValue
getTriggers
Feature released on 12/06/2023
Available only on Android
Setting and Logging Out Email
Setting and Logging Out SMS Number
Changes done on 26th June, 2024 for Android targetSdk 34. Now for logout the email and number is mandatory for the required functions.