react-native-phone-number-input icon indicating copy to clipboard operation
react-native-phone-number-input copied to clipboard

During the registration, if I select my phone code as +91, it is still displayed as +1 in “Edit Profile” screen instead of +91

Open sharmadevs opened this issue 4 years ago • 1 comments

sharmadevs avatar Jun 18 '21 09:06 sharmadevs

While saving the phone number, you also need to save the alpha-2 code like "IN","CA" in your DB and on Edit profile screen you can use that Alpha2 code to set default country code using defaultCode prop

softopia-tech avatar Jun 23 '21 04:06 softopia-tech