registerSMSNumber

open fun registerSMSNumber(number: String)

Registers an SMS number for the current user.

This method associates an SMS phone number with the device, allowing you to send SMS messages through Pushwoosh multichannel campaigns. Example:


  // Register SMS number with country code
  Pushwoosh.getInstance().registerSMSNumber("+1234567890");

Parameters

number

SMS phone number with country code (e.g., "+1234567890")