This is a deprecated page!
setExternalUserId
method will be deprecated in version 5+ of our SDKs.Instead, the External User ID will now be called External ID and will be used as the default alias for the new OneSignal.login
method.See the User Model Migration Guide for more details.setExternalUserId
MethodsetExternalUserId
method should be called when the user logs into the app/site and within the callback of the setEmail
and setSMSNumber
methods to link the records together.
subscription_id
record using the OneSignal SDK removeExternalUserId
method.
removeExternalUserId
Method