marmelroy / PhoneNumberKit

A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
MIT License
5.13k stars 817 forks source link

Unable to parse the mobile number with the Indian region code #769

Closed NelkiSujith closed 3 months ago

NelkiSujith commented 6 months ago

New Issue Checklist

Steps to reproduce

I'm trying to parse phone number from string 2082082081 with parse function phoneNumberKit.parse(phoneNumber.fullPhoneNumber) where phoneNumberKit is private let phoneNumberKit = PhoneNumberKit().In all versions I am facing this Issue . We need to update to newest version because of apple privacy manifest. From my observations function func hasValue(_ value: String?) -> Bool returns different values after update, so maybe the issue could be there

Expected result

we should get PhoneNumber Object

Actual result

we are getting PhoneNumber object as null due to parsing issue

Environment

OS: iOS App: Tenmates app

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.