Collect SMS Numbers through your app or website.
setSMSNumber
MethodsetSMSNumber
method allows you to set the user’s SMS number with the OneSignal SDK. We offer several overloaded versions of this method.
logoutSMSNumber
MethodlogoutSMSNumber
to dissociate the SMS from the device:
Event Object Property | Type |
---|---|
sms | string e.g: “+12149874829” |
getSMSId
Method