chronotruck / FlagPhoneNumber

A formatted phone number UITextField with country flag picker.
Apache License 2.0
438 stars 316 forks source link

Problem with Validation for Specific Number #182

Open NicolaiBure opened 3 years ago

NicolaiBure commented 3 years ago

Hi I'm trying to validate a number: 56 1409 8825 with Mexico Code (+52) and it returns false. If i made a Simple change 55 1409 8825 (Both Phone numbers are right) and it returns true.

I'm using the Function textField.getFormattedPhoneNumber(format: .E164)

I'm expecting that both phones are validated as true

Smartphone (please complete the following information):

lsamaria commented 2 years ago

@NicolaiBure hi, i'm having the same issue. How did you resolve this or did you switch to a different library?