International phone format, or getting ISO country code

Wondering if it is possible to convert a phone number from local format to international format using, say, some carrier information like ISO country code.


Local 754-3010
Domestic (541) 754-3010
International +1-541-754-3010

i dont now if this what u looking for but read and play with it.
https://github.com/googlei18n/libphonenumber
https://www.npmjs.com/package/google-libphonenumber

1 Like

Thanks @ItamarCohen

I was actually looking for a way that can guess the international phone number if a regular phone number is given, e.g. (541) 754-3010 should be converted to +1-541-754-3010 if the network carrier is in US, etc.

I found a plugin for getting carrier country code and name.
http://plugins.cordova.io/#/package/com.johnwargo.carrier

1 Like

Any updates on this… Thanks