AstrOOnauta / react-native-international-phone-number

⚛️ International mobile phone number input component for React Native 📱
https://snack.expo.dev/@astroonauta/react-native-international-phone-number
ISC License
262 stars 45 forks source link

Is there any way to check if mobile phone is valid? #12

Open dlenskyi opened 1 year ago

dlenskyi commented 1 year ago

Hi again :)

Is there any function to check if the phone I entered is valid? How can I detect if user prompts incorrect phone number

AstrOOnauta commented 1 year ago

Hey @dlenskyi

Not for now, sorry... But, in the future...I will.

VikasShashidhar commented 11 months ago

Hi again :)

Is there any function to check if the phone I entered is valid? How can I detect if user prompts incorrect phone number

@dlenskyi You can use something like awesome-phonenumber to do that. Just use the phone number along with the calling code this library returns and pass it to awesome-phonenumber.

nassimmiled commented 3 months ago

Is this enhancement done or not yet ? I can work on it, we need it