inviteUserBySms

abstract fun inviteUserBySms(phoneNumber: String?, listener: RainbowListener<Invitation, Unit>? = null)

Creates an sms invitation to register an account on Rainbow Note that this method will not send an SMS to the contact, it generates an invitation url available in the callback onSuccess it's up to you to send an sms with this invitation link. See Intent.ACTION_SENDTO

Parameters

phoneNumber

String phone number of the contact to invite

listener

RainbowListener callback (onSuccess, onError)