rili-live / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
42 stars 54 forks source link

Support Ivory Coast (Côte d'Ivoire) new phone number system #46

Closed borowszky closed 1 year ago

borowszky commented 1 year ago

Mobile phone numbers in Côte d'Ivoire (country code: +225) keep the 0 at the beginning even when written with the country code. Ex: 01 23 45 67 89 will be +225 01 23 45 67 89 . The current version of the react-native-phone-input package removes the starting 0 in the input control (see behaviour in the attached video file). So in the current version, 01 23 45 67 89 becomes +225 1 23 45 67 89 which is incorrect.

https://user-images.githubusercontent.com/32101188/225395119-3e64593b-72d4-4e0c-892d-c7b4fadca151.mov