PhoneNumberKit
PhoneNumberKit copied to clipboard
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
Hello, I'm using a framework that uses `PhoneNumberKit` as a dependency (https://github.com/checkout/frames-ios). I build this framework via Carthage: ```swift github "checkout/frames-ios" "3.5.3" github "marmelroy/PhoneNumberKit" "3.3.5" ``` After that, my CI...
Is there a way to configure PhoneNumberKit in such so would parse a number without a country code but with the 0 prefix correctly? Example; `0612345678` (for mobile phone numbers)...
Using 3.4.4 See: #231 for original filing > The phone number is missing a space between the 1 and the regional code. > > Looks like this: 1(555) 555-5555. >...
I am a user of _Simple Call Blocker_ on iOS. This app uses the PhoneNumberKit within its code to parse and display the phone numbers to be blocked by the...
Carthage is trying to load all the projects recursively. These projects have their targets shared - `AsYouType` - `PhoneBook` It was causing issues with our restricted setup as our build...
In case i type a Canadian number (has the same prefix than Usa), the flag won't update to the Canadian one.
Recently updated from 3.2.0 to 3.3.3 And now there is some randomly inserted numbers happening. (looks like 1534) This looks to be associated with the `nationalPrefixTransformRule` in the `PhoneNumberMetadata.json` So...
Xcode 13 OS: BigSur In ViewController.m @import PhoneNumberKit; However, methods or fields of PhoneNumberKit cannot be accessed. Is it possible to use this awesome lib in Objective-C project? I'm new...
Latest available version of `PhoneNumberKit` in the CocoaPods specs repo is [`3.3.4`](https://cocoapods.org/pods/PhoneNumberKit) Latest `PhoneNumberKit` version is [`3.4.1`](https://github.com/marmelroy/PhoneNumberKit/releases/tag/3.4.1) and it is missing from the specs repo. I see that the [`Podspec`](https://github.com/marmelroy/PhoneNumberKit/blob/master/PhoneNumberKit.podspec)...
+18567797 will formatted as +1 246-856-7797 let phoneNumberKit = PhoneNumberKit() do { let phoneNumber = try phoneNumberKit.parse("+18567797") //part of the phone number +18567797XXXX let formatted = phoneNumberKit.format(phoneNumber, toType: .international) print(formatted)...