?
auth.requestPhoneChange
Send a code to confirm a change to the signed-in user's phone number.
auth.requestPhoneChange(phone) → Promise<void>
Start changing the signed-in user's phone number. The platform texts a code to the new number; complete it with confirmPhoneChange. Requires an active session.
Parameters
phone
string
RequiredE.164 phone number, e.g. +15551234567.
Usage
await auth.requestPhoneChange('+15559876543');