libPhoneNumber-iOS icon indicating copy to clipboard operation
libPhoneNumber-iOS copied to clipboard

Carrier info

Open lgarreau opened this issue 7 years ago • 5 comments

Is it possible to find carrier code or carrier name ? I tried with this phonenumber +639953897543 and this method

  • (NBPhoneNumber*)parse:(NSString )numberToParse defaultRegion:(NSString )defaultRegion error:(NSError)error

but carrier is nil.

But with libphonenumber version I found "Globe operator"

http://libphonenumber.appspot.com/phonenumberparser?number=%2B63+995+389+7543

PhoneNumberToCarrierMapper Results Carrier Globe

lgarreau avatar May 12 '17 14:05 lgarreau

+1

ahmedAlmasri avatar May 17 '18 12:05 ahmedAlmasri

I made a quick code to do this, but it's support only english operator name

lgarreau avatar May 18 '18 13:05 lgarreau

@lgarreau Can you add your code here? Is he using libPhoneNumber-iOS or CTTelephonyNetworkInfo

ahmedAlmasri avatar May 20 '18 07:05 ahmedAlmasri

@ahmedAlmasri , I use libPhoneNumber-ios because I'm looking for phone number not only for the user

lgarreau avatar Aug 24 '18 10:08 lgarreau

Any updates on this!? 🤔

cedricbahirwe avatar Jun 13 '22 15:06 cedricbahirwe