SMS subscription
// This requires to have a custom user ID registered
// by calling the `identify` method beforehand.
BatchProfile.instance.newEditor()
.setPhoneNumber("+33123456789") // Null to erase. A valid E.164 phone number.
.setSMSMarketingSubscription(BatchSMSSubscriptionState.subscribed) // or BatchSMSSubscriptionState.unsubscribed
.save();Last updated

