Braze React Native SDK - v21.0.0
    Preparing search index...

    Function setPhoneNumber

    • Sets the phone number of the user. A null value will unset the phone number for this user.

      Parameters

      • phoneNumber: string | null

        A phone number is considered valid if it is no more than 255 characters in length and contains only numbers, whitespace, and the following special characters +.-()

      Returns void