You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am aware that this library is not responsible of adding/removing/changing phone number formats and any request should be done at libphonenumber repo
Apparently there are two Serbian phone number formats. The second and most recent format adds an extra digit and Phonenumberkit does not recognize the number as a valid number.
We were running v3.8.0 and updated to v4.0.1 with no luck.
Steps to reproduce
+381 xxxxxxxxx (9 digits plus 381)
Expected result
Valid phone number
Actual result
Invalid phone number
Environment
SPM on iOS
The text was updated successfully, but these errors were encountered:
Validation Results:
Result from isPossibleNumber(): true
Result from isValidNumber(): true
Result from isValidNumberForRegion(): true
Phone Number region: RS
Result from getNumberType(): MOBILE
Formatting Results:
E164 format: +381616378296
Original format: 381 61 6378296
National format: 061 6378296
International format: +381 61 6378296
Out-of-country format from US: 011 381 61 6378296
Out-of-country format from Switzerland: 00 381 61 6378296
Format for mobile dialing (calling from US): +381 61 6378296
Format for national dialing with preferred carrier code and empty fallback carrier code: 061 6378296
New Issue Checklist
Updated PhoneNumberKit to the latest version
Phone number formatted correctly on JavaScript version
I searched for existing GitHub issues
I am aware that this library is not responsible of adding/removing/changing phone number formats and any request should be done at libphonenumber repo
Apparently there are two Serbian phone number formats. The second and most recent format adds an extra digit and Phonenumberkit does not recognize the number as a valid number.
We were running v3.8.0 and updated to v4.0.1 with no luck.
Steps to reproduce
+381 xxxxxxxxx (9 digits plus 381)
Expected result
Valid phone number
Actual result
Invalid phone number
Environment
SPM on iOS
The text was updated successfully, but these errors were encountered: