├── .npmignore ├── LICENSE ├── README.md ├── lib ├── country.js ├── countryPicker.js ├── index.js ├── phoneNumber.js ├── resources │ ├── countries.json │ ├── flags │ │ ├── images │ │ │ ├── ad.png │ │ │ ├── ae.png │ │ │ ├── af.png │ │ │ ├── ag.png │ │ │ ├── ai.png │ │ │ ├── al.png │ │ │ ├── am.png │ │ │ ├── ao.png │ │ │ ├── ar.png │ │ │ ├── as.png │ │ │ ├── at.png │ │ │ ├── au.png │ │ │ ├── aw.png │ │ │ ├── ax.png │ │ │ ├── az.png │ │ │ ├── ba.png │ │ │ ├── bb.png │ │ │ ├── bd.png │ │ │ ├── be.png │ │ │ ├── bf.png │ │ │ ├── bg.png │ │ │ ├── bh.png │ │ │ ├── bi.png │ │ │ ├── bj.png │ │ │ ├── bl.png │ │ │ ├── bm.png │ │ │ ├── bn.png │ │ │ ├── bo.png │ │ │ ├── bq.png │ │ │ ├── br.png │ │ │ ├── bs.png │ │ │ ├── bt.png │ │ │ ├── bw.png │ │ │ ├── by.png │ │ │ ├── bz.png │ │ │ ├── ca.png │ │ │ ├── cc.png │ │ │ ├── cd.png │ │ │ ├── cf.png │ │ │ ├── cg.png │ │ │ ├── ch.png │ │ │ ├── ci.png │ │ │ ├── ck.png │ │ │ ├── cl.png │ │ │ ├── cm.png │ │ │ ├── cn.png │ │ │ ├── co.png │ │ │ ├── cr.png │ │ │ ├── cu.png │ │ │ ├── cv.png │ │ │ ├── cw.png │ │ │ ├── cx.png │ │ │ ├── cy.png │ │ │ ├── cz.png │ │ │ ├── de.png │ │ │ ├── dj.png │ │ │ ├── dk.png │ │ │ ├── dm.png │ │ │ ├── do.png │ │ │ ├── dz.png │ │ │ ├── ec.png │ │ │ ├── ee.png │ │ │ ├── eg.png │ │ │ ├── eh.png │ │ │ ├── er.png │ │ │ ├── es.png │ │ │ ├── et.png │ │ │ ├── fi.png │ │ │ ├── fj.png │ │ │ ├── fk.png │ │ │ ├── fm.png │ │ │ ├── fo.png │ │ │ ├── fr.png │ │ │ ├── ga.png │ │ │ ├── gb.png │ │ │ ├── gd.png │ │ │ ├── ge.png │ │ │ ├── gf.png │ │ │ ├── gg.png │ │ │ ├── gh.png │ │ │ ├── gi.png │ │ │ ├── gm.png │ │ │ ├── gn.png │ │ │ ├── gp.png │ │ │ ├── gq.png │ │ │ ├── gr.png │ │ │ ├── gt.png │ │ │ ├── gu.png │ │ │ ├── gw.png │ │ │ ├── gy.png │ │ │ ├── hk.png │ │ │ ├── hn.png │ │ │ ├── hr.png │ │ │ ├── ht.png │ │ │ ├── hu.png │ │ │ ├── id.png │ │ │ ├── ie.png │ │ │ ├── il.png │ │ │ ├── im.png │ │ │ ├── in.png │ │ │ ├── io.png │ │ │ ├── iq.png │ │ │ ├── ir.png │ │ │ ├── is.png │ │ │ ├── it.png │ │ │ ├── je.png │ │ │ ├── jm.png │ │ │ ├── jo.png │ │ │ ├── jp.png │ │ │ ├── ke.png │ │ │ ├── kg.png │ │ │ ├── kh.png │ │ │ ├── ki.png │ │ │ ├── km.png │ │ │ ├── kn.png │ │ │ ├── kp.png │ │ │ ├── kr.png │ │ │ ├── ks.png │ │ │ ├── kw.png │ │ │ ├── ky.png │ │ │ ├── kz.png │ │ │ ├── la.png │ │ │ ├── lb.png │ │ │ ├── lc.png │ │ │ ├── li.png │ │ │ ├── lk.png │ │ │ ├── lr.png │ │ │ ├── ls.png │ │ │ ├── lt.png │ │ │ ├── lu.png │ │ │ ├── lv.png │ │ │ ├── ly.png │ │ │ ├── ma.png │ │ │ ├── mc.png │ │ │ ├── md.png │ │ │ ├── me.png │ │ │ ├── mf.png │ │ │ ├── mg.png │ │ │ ├── mh.png │ │ │ ├── mk.png │ │ │ ├── ml.png │ │ │ ├── mm.png │ │ │ ├── mn.png │ │ │ ├── mo.png │ │ │ ├── mp.png │ │ │ ├── mq.png │ │ │ ├── mr.png │ │ │ ├── ms.png │ │ │ ├── mt.png │ │ │ ├── mu.png │ │ │ ├── mv.png │ │ │ ├── mw.png │ │ │ ├── mx.png │ │ │ ├── my.png │ │ │ ├── mz.png │ │ │ ├── na.png │ │ │ ├── nc.png │ │ │ ├── ne.png │ │ │ ├── nf.png │ │ │ ├── ng.png │ │ │ ├── ni.png │ │ │ ├── nl.png │ │ │ ├── no.png │ │ │ ├── np.png │ │ │ ├── nr.png │ │ │ ├── nu.png │ │ │ ├── nz.png │ │ │ ├── om.png │ │ │ ├── pa.png │ │ │ ├── pe.png │ │ │ ├── pf.png │ │ │ ├── pg.png │ │ │ ├── ph.png │ │ │ ├── pk.png │ │ │ ├── pl.png │ │ │ ├── pm.png │ │ │ ├── pr.png │ │ │ ├── ps.png │ │ │ ├── pt.png │ │ │ ├── pw.png │ │ │ ├── py.png │ │ │ ├── qa.png │ │ │ ├── re.png │ │ │ ├── ro.png │ │ │ ├── rs.png │ │ │ ├── ru.png │ │ │ ├── rw.png │ │ │ ├── sa.png │ │ │ ├── sb.png │ │ │ ├── sc.png │ │ │ ├── sd.png │ │ │ ├── se.png │ │ │ ├── sg.png │ │ │ ├── sh.png │ │ │ ├── si.png │ │ │ ├── sj.png │ │ │ ├── sk.png │ │ │ ├── sl.png │ │ │ ├── sm.png │ │ │ ├── sn.png │ │ │ ├── so.png │ │ │ ├── sr.png │ │ │ ├── ss.png │ │ │ ├── st.png │ │ │ ├── sv.png │ │ │ ├── sx.png │ │ │ ├── sy.png │ │ │ ├── sz.png │ │ │ ├── tc.png │ │ │ ├── td.png │ │ │ ├── tg.png │ │ │ ├── th.png │ │ │ ├── tj.png │ │ │ ├── tk.png │ │ │ ├── tl.png │ │ │ ├── tm.png │ │ │ ├── tn.png │ │ │ ├── to.png │ │ │ ├── tr.png │ │ │ ├── tt.png │ │ │ ├── tv.png │ │ │ ├── tw.png │ │ │ ├── tz.png │ │ │ ├── ua.png │ │ │ ├── ug.png │ │ │ ├── us.png │ │ │ ├── uy.png │ │ │ ├── uz.png │ │ │ ├── va.png │ │ │ ├── vc.png │ │ │ ├── ve.png │ │ │ ├── vg.png │ │ │ ├── vi.png │ │ │ ├── vn.png │ │ │ ├── vu.png │ │ │ ├── wf.png │ │ │ ├── ws.png │ │ │ ├── ye.png │ │ │ ├── yt.png │ │ │ ├── za.png │ │ │ ├── zm.png │ │ │ └── zw.png │ │ └── index.js │ └── numberType.json └── styles.js └── package.json /.npmignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # nyc test coverage 18 | .nyc_output 19 | 20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 21 | .grunt 22 | 23 | # node-waf configuration 24 | .lock-wscript 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directories 30 | node_modules 31 | jspm_packages 32 | 33 | # Optional npm cache directory 34 | .npm 35 | 36 | # Optional REPL history 37 | .node_repl_history 38 | 39 | .vscode 40 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 thegamenicorus 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Native Phone Input 2 | Phone input box for React Native 3 | 4 | |![2560-02-07 01_32_33](https://cloud.githubusercontent.com/assets/21040043/22661097/aa41852e-ecd6-11e6-84da-375cbe05020f.gif)|![2560-02-08 00_04_18](https://cloud.githubusercontent.com/assets/21040043/22702110/3758ecc0-ed92-11e6-9d2e-421b76d4e2b5.gif)| 5 | |---------------|----------| 6 | 7 | 8 | ## Installation 9 | ``` 10 | npm i react-native-phone-input --save 11 | ``` 12 | 13 | ## Basic Usage 14 | ```jsx 15 | import PhoneInput from 'react-native-phone-input' 16 | 17 | render(){ 18 | return( 19 | 20 | ) 21 | } 22 | ``` 23 | [see full basic example](https://github.com/thegamenicorus/react-native-phone-input/blob/master/examples/BasicExample/app.js) 24 | 25 | ## Custom Your Own Picker 26 | |![2560-02-08 01_10_22](https://cloud.githubusercontent.com/assets/21040043/22705440/0cc61896-ed9e-11e6-83d6-e4d98cf5c06f.gif)|![2560-02-08 01_46_21](https://cloud.githubusercontent.com/assets/21040043/22706060/73b04994-eda0-11e6-8e86-3ae1a94d9bd3.gif)| 27 | |---------------|----------| 28 | 29 | 30 | 1. in componentDidMount, keep this.phone.getPickerData() in state 31 | 2. create function for open your modal (onPressFlag in example) 32 | 3. \ 33 | 4. call this.phone.selectCountry for set country of \ 34 | ```jsx 35 | componentDidMount(){ 36 | this.setState({ 37 | pickerData: this.phone.getPickerData() 38 | }) 39 | } 40 | 41 | onPressFlag(){ 42 | this.myCountryPicker.open() 43 | } 44 | 45 | selectCountry(country){ 46 | this.phone.selectCountry(country.iso2) 47 | } 48 | 49 | render(){ 50 | return( 51 | 52 | { this.phone = ref; }} 54 | onPressFlag={this.onPressFlag} 55 | /> 56 | 57 | { this.myCountryPicker = ref; }} 59 | data={this.state.pickerData} 60 | onChange={(country)=>{ this.selectCountry(country) }} 61 | cancelText='Cancel' 62 | /> 63 | 64 | ) 65 | } 66 | ``` 67 | [see full custom picker example](https://github.com/thegamenicorus/react-native-phone-input/blob/master/examples/CustomPicker/app.js) 68 | 69 | ## Custom Library Picker 70 | use awesome [react-native-country-picker-modal](https://github.com/xcarpentier/react-native-country-picker-modal) to select country 71 | 72 | |![2560-02-08 02_26_20](https://cloud.githubusercontent.com/assets/21040043/22707625/fecc68d2-eda5-11e6-868c-42d3c544fcc8.gif)|![2560-02-08 02_43_18](https://cloud.githubusercontent.com/assets/21040043/22708333/6d0938b4-eda8-11e6-9ca1-ae217536b4cc.gif)| 73 | |---------------|----------| 74 | ```jsx 75 | onPressFlag(){ 76 | this.countryPicker.openModal() 77 | } 78 | 79 | selectCountry(country){ 80 | this.phone.selectCountry(country.cca2.toLowerCase()) 81 | this.setState({cca2: country.cca2}) 82 | } 83 | 84 | render(){ 85 | return( 86 | 87 | { this.phone = ref; }} 89 | onPressFlag={this.onPressFlag} 90 | /> 91 | 92 | { this.countryPicker = ref; }} 94 | onChange={(value)=> this.selectCountry(value)} 95 | translation='eng' 96 | cca2={this.state.cca2} 97 | > 98 | 99 | 100 | 101 | ) 102 | } 103 | ``` 104 | [see full custom library picker example](https://github.com/thegamenicorus/react-native-phone-input/blob/master/examples/CustomLibraryPicker/app.js) 105 | 106 | ## Custom Countries 107 | ```jsx 108 | 111 | ``` 112 | 113 | ## Configuration 114 | ### Properties: 115 | | Property Name | Type | Default | Description | 116 | |---------------|----------|-------------|----------------------------------------------------------------| 117 | | initialCountry | string | 'us' | initial selected country | 118 | | value | string | null | initial phone number | 119 | | style | object | null | custom styles to be applied if supplied | 120 | | flagStyle | object | null | custom styles for flag image eg. {{width: 50, height: 30, borderWidth:0}} | 121 | | textStyle | object | null | custom styles for phone number text input eg. {{fontSize: 14}} | 122 | | textProps | object | null | properties for phone number text input eg. {{placeholder: 'Telephone number'}} | 123 | | textComponent | function | TextField | the input component to use | 124 | | offset | int | 10 | distance between flag and phone number | 125 | | pickerButtonColor | string | '#007AFF' | set button color of country picker | 126 | | pickerBackgroundColor | string | 'white' | set background color of country picker | 127 | | pickerItemStyle | object | null | custom styles for text in country picker eg. {{fontSize: 14}} | 128 | | cancelText | string | 'Cancel' | cancel word | 129 | | confirmText | string | 'Confirm' | confirm word | 130 | | buttonTextStyle | object | null | custom styles for country picker button | 131 | | onChangePhoneNumber | function(number) | null | function to be invoked when phone number is changed | 132 | | onSelectCountry | function(iso2) | null | function to be invoked when country picker is selected | 133 | | onPressFlag | function() | null | function to be invoked when press on flag image | 134 | | countriesList | array | null | custom countries list | 135 | 136 | ### Functions: 137 | | Function Name | Return Type | Parameters | Description | 138 | |---------------|----------|-------------|----------------------------------------------------------------| 139 | | isValidNumber | boolean | none | return true if current phone number is valid | 140 | | getNumberType | string | none | return true type of current phone number | 141 | | getValue | string | none | return current phone number | 142 | | getFlag | object | iso2:string | return flag image | 143 | | getAllCountries | object | none | return country object in country picker | 144 | | getPickerData | object | nont | return country object with flag image | 145 | | focus | void | none | focus the phone input | 146 | | selectCountry | void | iso2:string | set phone input to specific country | 147 | | getCountryCode | string | none | return countryCode of current phone number | 148 | -------------------------------------------------------------------------------- /lib/country.js: -------------------------------------------------------------------------------- 1 | import { find, orderBy } from 'lodash'; 2 | 3 | let instance = null; 4 | 5 | class Country { 6 | static getInstance() { 7 | if (!instance) { 8 | instance = new Country(); 9 | } 10 | return instance; 11 | } 12 | 13 | constructor() { 14 | this.countryCodes = []; 15 | 16 | this.countriesData = null; 17 | } 18 | 19 | setCustomCountriesData(json) { 20 | this.countriesData = json; 21 | } 22 | 23 | addCountryCode(iso2, dialCode, priority) { 24 | if (!(dialCode in this.countryCodes)) { 25 | this.countryCodes[dialCode] = []; 26 | } 27 | 28 | const index = priority || 0; 29 | this.countryCodes[dialCode][index] = iso2; 30 | } 31 | 32 | getAll() { 33 | if (!this.countries) { 34 | this.countries = orderBy( 35 | this.countriesData || require('./resources/countries.json'), 36 | ['name'], 37 | ['asc'], 38 | ); 39 | } 40 | 41 | return this.countries; 42 | } 43 | 44 | getCountryCodes() { 45 | if (!this.countryCodes.length) { 46 | this.getAll().map((country) => { 47 | this.addCountryCode(country.iso2, country.dialCode, country.priority); 48 | if (country.areaCodes) { 49 | country.areaCodes.map((areaCode) => { 50 | this.addCountryCode(country.iso2, country.dialCode + areaCode); 51 | }); 52 | } 53 | }); 54 | } 55 | return this.countryCodes; 56 | } 57 | 58 | getCountryDataByCode(iso2) { 59 | return find(this.getAll(), country => country.iso2 === iso2); 60 | } 61 | } 62 | 63 | export default Country.getInstance(); 64 | -------------------------------------------------------------------------------- /lib/countryPicker.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Text, TouchableOpacity, View, Modal, Picker } from 'react-native'; 3 | import PropTypes from 'prop-types'; 4 | 5 | import Country from './country'; 6 | import styles from './styles'; 7 | 8 | const PickerItem = Picker.Item; 9 | 10 | const propTypes = { 11 | buttonColor: PropTypes.string, 12 | labels: PropTypes.array, 13 | confirmText: PropTypes.string, 14 | cancelText: PropTypes.string, 15 | itemStyle: PropTypes.object, 16 | onSubmit: PropTypes.func, 17 | }; 18 | 19 | export default class CountryPicker extends Component { 20 | constructor(props) { 21 | super(props); 22 | 23 | this.state = { 24 | buttonColor: this.props.buttonColor || '#007AFF', 25 | modalVisible: false, 26 | selectedCountry: this.props.selectedCountry || Country.getAll()[0], 27 | }; 28 | 29 | this.onPressCancel = this.onPressCancel.bind(this); 30 | this.onPressSubmit = this.onPressSubmit.bind(this); 31 | this.onValueChange = this.onValueChange.bind(this); 32 | } 33 | 34 | UNSAFE_componentWillReceiveProps(nextProps) { 35 | this.setState({ 36 | selectedCountry: nextProps.selectedCountry, 37 | }); 38 | } 39 | 40 | selectCountry(selectedCountry) { 41 | this.setState({ 42 | selectedCountry, 43 | }); 44 | } 45 | 46 | onPressCancel() { 47 | this.setState({ 48 | modalVisible: false, 49 | }); 50 | } 51 | 52 | onPressSubmit() { 53 | if (this.props.onSubmit) { 54 | this.props.onSubmit(this.state.selectedCountry); 55 | } 56 | 57 | this.setState({ 58 | modalVisible: false, 59 | }); 60 | } 61 | 62 | onValueChange(selectedCountry) { 63 | this.setState({ 64 | selectedCountry, 65 | }); 66 | } 67 | 68 | show() { 69 | this.setState({ 70 | modalVisible: true, 71 | }); 72 | } 73 | 74 | renderItem(country, index) { 75 | return ; 76 | } 77 | 78 | render() { 79 | const { buttonColor } = this.state; 80 | const itemStyle = this.props.itemStyle || {}; 81 | return ( 82 | { 87 | console.log('Country picker has been closed.'); 88 | }} 89 | > 90 | 91 | 97 | 98 | 99 | 100 | {this.props.cancelText || 'Cancel'} 101 | 102 | 103 | 104 | 105 | 106 | {this.props.confirmText || 'Confirm'} 107 | 108 | 109 | 110 | 111 | 112 | { 114 | this.picker = ref; 115 | }} 116 | style={styles.bottomPicker} 117 | selectedValue={this.state.selectedCountry} 118 | onValueChange={country => this.onValueChange(country)} 119 | itemStyle={itemStyle} 120 | mode="dialog" 121 | > 122 | {Country.getAll().map((country, index) => this.renderItem(country, index))} 123 | 124 | 125 | 126 | 127 | 128 | ); 129 | } 130 | } 131 | 132 | CountryPicker.propTypes = propTypes; 133 | -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from "react"; 2 | import { Image, TextInput, TouchableWithoutFeedback, View } from "react-native"; 3 | import PropTypes from "prop-types"; 4 | 5 | import Country from "./country"; 6 | import Flags from "./resources/flags"; 7 | import PhoneNumber from "./phoneNumber"; 8 | import styles from "./styles"; 9 | import CountryPicker from "./countryPicker"; 10 | 11 | export default class PhoneInput extends Component { 12 | static setCustomCountriesData(json) { 13 | Country.setCustomCountriesData(json); 14 | } 15 | 16 | constructor(props, context) { 17 | super(props, context); 18 | 19 | this.onChangePhoneNumber = this.onChangePhoneNumber.bind(this); 20 | this.onPressFlag = this.onPressFlag.bind(this); 21 | this.selectCountry = this.selectCountry.bind(this); 22 | this.getFlag = this.getFlag.bind(this); 23 | this.getISOCode = this.getISOCode.bind(this); 24 | 25 | const { countriesList, disabled, initialCountry } = this.props; 26 | 27 | if (countriesList) { 28 | Country.setCustomCountriesData(countriesList); 29 | } 30 | const countryData = PhoneNumber.getCountryDataByCode(initialCountry); 31 | 32 | this.state = { 33 | iso2: initialCountry, 34 | disabled, 35 | formattedNumber: countryData ? `+${countryData.dialCode}` : "", 36 | value: null 37 | }; 38 | } 39 | 40 | UNSAFE_componentWillMount() { 41 | if (this.props.value) { 42 | this.updateFlagAndFormatNumber(this.props.value); 43 | } 44 | } 45 | 46 | UNSAFE_componentWillReceiveProps(nextProps) { 47 | const { value, disabled } = nextProps; 48 | this.setState({ disabled }); 49 | 50 | if (value && value !== this.state.value) { 51 | this.setState({ value }); 52 | this.updateFlagAndFormatNumber(value); 53 | } 54 | } 55 | 56 | onChangePhoneNumber(number) { 57 | const actionAfterSetState = this.props.onChangePhoneNumber 58 | ? () => { 59 | this.props.onChangePhoneNumber(number); 60 | } 61 | : null; 62 | this.updateFlagAndFormatNumber(number, actionAfterSetState); 63 | } 64 | 65 | onPressFlag() { 66 | if (this.props.onPressFlag) { 67 | this.props.onPressFlag(); 68 | } else { 69 | if (this.state.iso2) this.picker.selectCountry(this.state.iso2); 70 | this.picker.show(); 71 | } 72 | } 73 | 74 | getPickerData() { 75 | return PhoneNumber.getAllCountries().map((country, index) => ({ 76 | key: index, 77 | image: Flags.get(country.iso2), 78 | label: country.name, 79 | dialCode: `+${country.dialCode}`, 80 | iso2: country.iso2 81 | })); 82 | } 83 | 84 | getCountryCode() { 85 | const countryData = PhoneNumber.getCountryDataByCode(this.state.iso2); 86 | return countryData.dialCode; 87 | } 88 | 89 | getAllCountries() { 90 | return PhoneNumber.getAllCountries(); 91 | } 92 | 93 | getFlag(iso2) { 94 | return Flags.get(iso2); 95 | } 96 | 97 | getDialCode() { 98 | return PhoneNumber.getDialCode(this.state.formattedNumber); 99 | } 100 | 101 | getValue() { 102 | return this.state.formattedNumber; 103 | } 104 | 105 | getNumberType() { 106 | return PhoneNumber.getNumberType( 107 | this.state.formattedNumber, 108 | this.state.iso2 109 | ); 110 | } 111 | 112 | getISOCode() { 113 | return this.state.iso2; 114 | } 115 | 116 | selectCountry(iso2) { 117 | if (this.state.iso2 !== iso2) { 118 | const countryData = PhoneNumber.getCountryDataByCode(iso2); 119 | if (countryData) { 120 | this.setState( 121 | { 122 | iso2, 123 | formattedNumber: `+${countryData.dialCode}` 124 | }, 125 | () => { 126 | if (this.props.onSelectCountry) this.props.onSelectCountry(iso2); 127 | } 128 | ); 129 | } 130 | } 131 | } 132 | 133 | isValidNumber() { 134 | return PhoneNumber.isValidNumber( 135 | this.state.formattedNumber, 136 | this.state.iso2 137 | ); 138 | } 139 | 140 | updateFlagAndFormatNumber(number, actionAfterSetState = null) { 141 | const { allowZeroAfterCountryCode, initialCountry } = this.props; 142 | let iso2 = initialCountry; 143 | let phoneNumber = number; 144 | 145 | if (number) { 146 | if (phoneNumber[0] !== "+") phoneNumber = `+${phoneNumber}`; 147 | phoneNumber = allowZeroAfterCountryCode 148 | ? phoneNumber 149 | : this.possiblyEliminateZeroAfterCountryCode(phoneNumber); 150 | iso2 = PhoneNumber.getCountryCodeOfNumber(phoneNumber); 151 | } 152 | this.setState({ iso2, formattedNumber: phoneNumber }, actionAfterSetState); 153 | } 154 | 155 | possiblyEliminateZeroAfterCountryCode(number) { 156 | const dialCode = PhoneNumber.getDialCode(number); 157 | return number.startsWith(`${dialCode}0`) 158 | ? dialCode + number.substr(dialCode.length + 1) 159 | : number; 160 | } 161 | 162 | focus() { 163 | this.inputPhone.focus(); 164 | } 165 | 166 | render() { 167 | const { iso2, formattedNumber, disabled } = this.state; 168 | const TextComponent = this.props.textComponent || TextInput; 169 | return ( 170 | 171 | 175 | 180 | 181 | 182 | { 184 | this.inputPhone = ref; 185 | }} 186 | editable={!disabled} 187 | autoCorrect={false} 188 | style={[styles.text, this.props.textStyle]} 189 | onChangeText={text => { 190 | this.onChangePhoneNumber(text); 191 | }} 192 | keyboardType="phone-pad" 193 | underlineColorAndroid="rgba(0,0,0,0)" 194 | value={formattedNumber} 195 | {...this.props.textProps} 196 | /> 197 | 198 | 199 | { 201 | this.picker = ref; 202 | }} 203 | selectedCountry={iso2} 204 | onSubmit={this.selectCountry} 205 | buttonColor={this.props.pickerButtonColor} 206 | buttonTextStyle={this.props.pickerButtonTextStyle} 207 | itemStyle={this.props.itemStyle} 208 | cancelText={this.props.cancelText} 209 | cancelTextStyle={this.props.cancelTextStyle} 210 | confirmText={this.props.confirmText} 211 | confirmTextStyle={this.props.confirmTextStyle} 212 | pickerBackgroundColor={this.props.pickerBackgroundColor} 213 | itemStyle={this.props.pickerItemStyle} 214 | /> 215 | 216 | ); 217 | } 218 | } 219 | 220 | PhoneInput.propTypes = { 221 | textComponent: PropTypes.func, 222 | initialCountry: PropTypes.string, 223 | onChangePhoneNumber: PropTypes.func, 224 | value: PropTypes.string, 225 | style: PropTypes.object, 226 | flagStyle: PropTypes.object, 227 | textStyle: PropTypes.object, 228 | offset: PropTypes.number, 229 | textProps: PropTypes.object, 230 | onSelectCountry: PropTypes.func, 231 | pickerButtonColor: PropTypes.string, 232 | pickerBackgroundColor: PropTypes.string, 233 | pickerItemStyle: PropTypes.object, 234 | countriesList: PropTypes.arrayOf( 235 | PropTypes.shape({ 236 | name: PropTypes.string, 237 | iso2: PropTypes.string, 238 | dialCode: PropTypes.string, 239 | priority: PropTypes.number, 240 | areaCodes: PropTypes.arrayOf(PropTypes.string) 241 | }) 242 | ), 243 | cancelText: PropTypes.string, 244 | cancelTextStyle: PropTypes.object, 245 | confirmText: PropTypes.string, 246 | confirmTextTextStyle: PropTypes.object, 247 | disabled: PropTypes.bool, 248 | allowZeroAfterCountryCode: PropTypes.bool 249 | }; 250 | 251 | PhoneInput.defaultProps = { 252 | initialCountry: "us", 253 | disabled: false, 254 | allowZeroAfterCountryCode: true 255 | }; 256 | -------------------------------------------------------------------------------- /lib/phoneNumber.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | 3 | import Country from './country'; 4 | import numberType from './resources/numberType.json'; 5 | 6 | const phoneUtil = require('google-libphonenumber').PhoneNumberUtil.getInstance(); 7 | 8 | let instance = null; 9 | 10 | class PhoneNumber { 11 | static getInstance() { 12 | if (!instance) { 13 | instance = new PhoneNumber(); 14 | } 15 | return instance; 16 | } 17 | 18 | getAllCountries() { 19 | return Country.getAll(); 20 | } 21 | 22 | getDialCode(number) { 23 | let dialCode = ''; 24 | // only interested in international numbers (starting with a plus) 25 | if (number.charAt(0) === '+') { 26 | let numericChars = ''; 27 | // iterate over chars 28 | for (let i = 0; i < number.length; i++) { 29 | const c = number.charAt(i); 30 | // if char is number 31 | if (this.isNumeric(c)) { 32 | numericChars += c; 33 | // if current numericChars make a valid dial code 34 | // if (this.countryCodes[numericChars]) { 35 | if (Country.getCountryCodes()[numericChars]) { 36 | // store the actual raw string (useful for matching later) 37 | dialCode = number.substr(0, i + 1); 38 | } 39 | // longest dial code is 4 chars 40 | if (numericChars.length === 4) { 41 | break; 42 | } 43 | } 44 | } 45 | } 46 | return dialCode; 47 | } 48 | 49 | getNumeric(str) { 50 | return str.replace(/\D/g, ''); 51 | } 52 | 53 | isNumeric(n) { 54 | return !isNaN(parseFloat(n)) && isFinite(n); 55 | } 56 | 57 | getCountryCodeOfNumber(number) { 58 | const dialCode = this.getDialCode(number); 59 | const numeric = this.getNumeric(dialCode); 60 | const countryCode = Country.getCountryCodes()[numeric]; 61 | 62 | // countryCode[0] can be null -> get first element that is not null 63 | if (countryCode) { 64 | return _.first(countryCode.filter(iso2 => iso2)); 65 | } 66 | 67 | return ''; 68 | } 69 | 70 | parse(number, iso2) { 71 | try { 72 | return phoneUtil.parse(number, iso2); 73 | } catch (err) { 74 | console.log(`Exception was thrown: ${err.toString()}`); 75 | return null; 76 | } 77 | } 78 | 79 | isValidNumber(number, iso2) { 80 | const phoneInfo = this.parse(number, iso2); 81 | 82 | if (phoneInfo) { 83 | return phoneUtil.isValidNumber(phoneInfo); 84 | } 85 | 86 | return false; 87 | } 88 | 89 | getNumberType(number, iso2) { 90 | const phoneInfo = this.parse(number, iso2); 91 | const type = phoneInfo ? phoneUtil.getNumberType(phoneInfo) : -1; 92 | return _.findKey(numberType, noType => noType === type); 93 | } 94 | 95 | getCountryDataByCode(iso2) { 96 | return Country.getCountryDataByCode(iso2); 97 | } 98 | } 99 | 100 | export default PhoneNumber.getInstance(); 101 | -------------------------------------------------------------------------------- /lib/resources/countries.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Afghanistan (‫افغانستان‬‎)", 4 | "iso2": "af", 5 | "dialCode": "93", 6 | "priority": 0, 7 | "areaCodes": null 8 | }, 9 | { 10 | "name": "Albania (Shqipëri)", 11 | "iso2": "al", 12 | "dialCode": "355", 13 | "priority": 0, 14 | "areaCodes": null 15 | }, 16 | { 17 | "name": "Algeria (‫الجزائر‬‎)", 18 | "iso2": "dz", 19 | "dialCode": "213", 20 | "priority": 0, 21 | "areaCodes": null 22 | }, 23 | { 24 | "name": "American Samoa", 25 | "iso2": "as", 26 | "dialCode": "1684", 27 | "priority": 0, 28 | "areaCodes": null 29 | }, 30 | { 31 | "name": "Andorra", 32 | "iso2": "ad", 33 | "dialCode": "376", 34 | "priority": 0, 35 | "areaCodes": null 36 | }, 37 | { 38 | "name": "Angola", 39 | "iso2": "ao", 40 | "dialCode": "244", 41 | "priority": 0, 42 | "areaCodes": null 43 | }, 44 | { 45 | "name": "Anguilla", 46 | "iso2": "ai", 47 | "dialCode": "1264", 48 | "priority": 0, 49 | "areaCodes": null 50 | }, 51 | { 52 | "name": "Antigua and Barbuda", 53 | "iso2": "ag", 54 | "dialCode": "1268", 55 | "priority": 0, 56 | "areaCodes": null 57 | }, 58 | { 59 | "name": "Argentina", 60 | "iso2": "ar", 61 | "dialCode": "54", 62 | "priority": 0, 63 | "areaCodes": null 64 | }, 65 | { 66 | "name": "Armenia (Հայաստան)", 67 | "iso2": "am", 68 | "dialCode": "374", 69 | "priority": 0, 70 | "areaCodes": null 71 | }, 72 | { 73 | "name": "Aruba", 74 | "iso2": "aw", 75 | "dialCode": "297", 76 | "priority": 0, 77 | "areaCodes": null 78 | }, 79 | { 80 | "name": "Australia", 81 | "iso2": "au", 82 | "dialCode": "61", 83 | "priority": 0, 84 | "areaCodes": null 85 | }, 86 | { 87 | "name": "Austria (Österreich)", 88 | "iso2": "at", 89 | "dialCode": "43", 90 | "priority": 0, 91 | "areaCodes": null 92 | }, 93 | { 94 | "name": "Azerbaijan (Azərbaycan)", 95 | "iso2": "az", 96 | "dialCode": "994", 97 | "priority": 0, 98 | "areaCodes": null 99 | }, 100 | { 101 | "name": "Bahamas", 102 | "iso2": "bs", 103 | "dialCode": "1242", 104 | "priority": 0, 105 | "areaCodes": null 106 | }, 107 | { 108 | "name": "Bahrain (‫البحرين‬‎)", 109 | "iso2": "bh", 110 | "dialCode": "973", 111 | "priority": 0, 112 | "areaCodes": null 113 | }, 114 | { 115 | "name": "Bangladesh (বাংলাদেশ)", 116 | "iso2": "bd", 117 | "dialCode": "880", 118 | "priority": 0, 119 | "areaCodes": null 120 | }, 121 | { 122 | "name": "Barbados", 123 | "iso2": "bb", 124 | "dialCode": "1246", 125 | "priority": 0, 126 | "areaCodes": null 127 | }, 128 | { 129 | "name": "Belarus (Беларусь)", 130 | "iso2": "by", 131 | "dialCode": "375", 132 | "priority": 0, 133 | "areaCodes": null 134 | }, 135 | { 136 | "name": "Belgium (België)", 137 | "iso2": "be", 138 | "dialCode": "32", 139 | "priority": 0, 140 | "areaCodes": null 141 | }, 142 | { 143 | "name": "Belize", 144 | "iso2": "bz", 145 | "dialCode": "501", 146 | "priority": 0, 147 | "areaCodes": null 148 | }, 149 | { 150 | "name": "Benin (Bénin)", 151 | "iso2": "bj", 152 | "dialCode": "229", 153 | "priority": 0, 154 | "areaCodes": null 155 | }, 156 | { 157 | "name": "Bermuda", 158 | "iso2": "bm", 159 | "dialCode": "1441", 160 | "priority": 0, 161 | "areaCodes": null 162 | }, 163 | { 164 | "name": "Bhutan (འབྲུག)", 165 | "iso2": "bt", 166 | "dialCode": "975", 167 | "priority": 0, 168 | "areaCodes": null 169 | }, 170 | { 171 | "name": "Bolivia", 172 | "iso2": "bo", 173 | "dialCode": "591", 174 | "priority": 0, 175 | "areaCodes": null 176 | }, 177 | { 178 | "name": "Bosnia and Herzegovina (Босна и Херцеговина)", 179 | "iso2": "ba", 180 | "dialCode": "387", 181 | "priority": 0, 182 | "areaCodes": null 183 | }, 184 | { 185 | "name": "Botswana", 186 | "iso2": "bw", 187 | "dialCode": "267", 188 | "priority": 0, 189 | "areaCodes": null 190 | }, 191 | { 192 | "name": "Brazil (Brasil)", 193 | "iso2": "br", 194 | "dialCode": "55", 195 | "priority": 0, 196 | "areaCodes": null 197 | }, 198 | { 199 | "name": "British Indian Ocean Territory", 200 | "iso2": "io", 201 | "dialCode": "246", 202 | "priority": 0, 203 | "areaCodes": null 204 | }, 205 | { 206 | "name": "British Virgin Islands", 207 | "iso2": "vg", 208 | "dialCode": "1284", 209 | "priority": 0, 210 | "areaCodes": null 211 | }, 212 | { 213 | "name": "Brunei", 214 | "iso2": "bn", 215 | "dialCode": "673", 216 | "priority": 0, 217 | "areaCodes": null 218 | }, 219 | { 220 | "name": "Bulgaria (България)", 221 | "iso2": "bg", 222 | "dialCode": "359", 223 | "priority": 0, 224 | "areaCodes": null 225 | }, 226 | { 227 | "name": "Burkina Faso", 228 | "iso2": "bf", 229 | "dialCode": "226", 230 | "priority": 0, 231 | "areaCodes": null 232 | }, 233 | { 234 | "name": "Burundi (Uburundi)", 235 | "iso2": "bi", 236 | "dialCode": "257", 237 | "priority": 0, 238 | "areaCodes": null 239 | }, 240 | { 241 | "name": "Cambodia (កម្ពុជា)", 242 | "iso2": "kh", 243 | "dialCode": "855", 244 | "priority": 0, 245 | "areaCodes": null 246 | }, 247 | { 248 | "name": "Cameroon (Cameroun)", 249 | "iso2": "cm", 250 | "dialCode": "237", 251 | "priority": 0, 252 | "areaCodes": null 253 | }, 254 | { 255 | "name": "Canada", 256 | "iso2": "ca", 257 | "dialCode": "1", 258 | "priority": 1, 259 | "areaCodes": [ 260 | "204", 261 | "226", 262 | "236", 263 | "249", 264 | "250", 265 | "289", 266 | "306", 267 | "343", 268 | "365", 269 | "387", 270 | "403", 271 | "416", 272 | "418", 273 | "431", 274 | "437", 275 | "438", 276 | "450", 277 | "506", 278 | "514", 279 | "519", 280 | "548", 281 | "579", 282 | "581", 283 | "587", 284 | "604", 285 | "613", 286 | "639", 287 | "647", 288 | "672", 289 | "705", 290 | "709", 291 | "742", 292 | "778", 293 | "780", 294 | "782", 295 | "807", 296 | "819", 297 | "825", 298 | "867", 299 | "873", 300 | "902", 301 | "905" 302 | ] 303 | }, 304 | { 305 | "name": "Cape Verde (Kabu Verdi)", 306 | "iso2": "cv", 307 | "dialCode": "238", 308 | "priority": 0, 309 | "areaCodes": null 310 | }, 311 | { 312 | "name": "Caribbean Netherlands", 313 | "iso2": "bq", 314 | "dialCode": "599", 315 | "priority": 1, 316 | "areaCodes": null 317 | }, 318 | { 319 | "name": "Cayman Islands", 320 | "iso2": "ky", 321 | "dialCode": "1345", 322 | "priority": 0, 323 | "areaCodes": null 324 | }, 325 | { 326 | "name": "Central African Republic (République centrafricaine)", 327 | "iso2": "cf", 328 | "dialCode": "236", 329 | "priority": 0, 330 | "areaCodes": null 331 | }, 332 | { 333 | "name": "Chad (Tchad)", 334 | "iso2": "td", 335 | "dialCode": "235", 336 | "priority": 0, 337 | "areaCodes": null 338 | }, 339 | { 340 | "name": "Chile", 341 | "iso2": "cl", 342 | "dialCode": "56", 343 | "priority": 0, 344 | "areaCodes": null 345 | }, 346 | { 347 | "name": "China (中国)", 348 | "iso2": "cn", 349 | "dialCode": "86", 350 | "priority": 0, 351 | "areaCodes": null 352 | }, 353 | { 354 | "name": "Christmas Island", 355 | "iso2": "cx", 356 | "dialCode": "61", 357 | "priority": 2, 358 | "areaCodes": null 359 | }, 360 | { 361 | "name": "Cocos (Keeling) Islands", 362 | "iso2": "cc", 363 | "dialCode": "61", 364 | "priority": 1, 365 | "areaCodes": null 366 | }, 367 | { 368 | "name": "Colombia", 369 | "iso2": "co", 370 | "dialCode": "57", 371 | "priority": 0, 372 | "areaCodes": null 373 | }, 374 | { 375 | "name": "Comoros (‫جزر القمر‬‎)", 376 | "iso2": "km", 377 | "dialCode": "269", 378 | "priority": 0, 379 | "areaCodes": null 380 | }, 381 | { 382 | "name": "Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)", 383 | "iso2": "cd", 384 | "dialCode": "243", 385 | "priority": 0, 386 | "areaCodes": null 387 | }, 388 | { 389 | "name": "Congo (Republic) (Congo-Brazzaville)", 390 | "iso2": "cg", 391 | "dialCode": "242", 392 | "priority": 0, 393 | "areaCodes": null 394 | }, 395 | { 396 | "name": "Cook Islands", 397 | "iso2": "ck", 398 | "dialCode": "682", 399 | "priority": 0, 400 | "areaCodes": null 401 | }, 402 | { 403 | "name": "Costa Rica", 404 | "iso2": "cr", 405 | "dialCode": "506", 406 | "priority": 0, 407 | "areaCodes": null 408 | }, 409 | { 410 | "name": "Côte d’Ivoire", 411 | "iso2": "ci", 412 | "dialCode": "225", 413 | "priority": 0, 414 | "areaCodes": null 415 | }, 416 | { 417 | "name": "Croatia (Hrvatska)", 418 | "iso2": "hr", 419 | "dialCode": "385", 420 | "priority": 0, 421 | "areaCodes": null 422 | }, 423 | { 424 | "name": "Cuba", 425 | "iso2": "cu", 426 | "dialCode": "53", 427 | "priority": 0, 428 | "areaCodes": null 429 | }, 430 | { 431 | "name": "Curaçao", 432 | "iso2": "cw", 433 | "dialCode": "599", 434 | "priority": 0, 435 | "areaCodes": null 436 | }, 437 | { 438 | "name": "Cyprus (Κύπρος)", 439 | "iso2": "cy", 440 | "dialCode": "357", 441 | "priority": 0, 442 | "areaCodes": null 443 | }, 444 | { 445 | "name": "Czech Republic (Česká republika)", 446 | "iso2": "cz", 447 | "dialCode": "420", 448 | "priority": 0, 449 | "areaCodes": null 450 | }, 451 | { 452 | "name": "Denmark (Danmark)", 453 | "iso2": "dk", 454 | "dialCode": "45", 455 | "priority": 0, 456 | "areaCodes": null 457 | }, 458 | { 459 | "name": "Djibouti", 460 | "iso2": "dj", 461 | "dialCode": "253", 462 | "priority": 0, 463 | "areaCodes": null 464 | }, 465 | { 466 | "name": "Dominica", 467 | "iso2": "dm", 468 | "dialCode": "1767", 469 | "priority": 0, 470 | "areaCodes": null 471 | }, 472 | { 473 | "name": "Dominican Republic (República Dominicana)", 474 | "iso2": "do", 475 | "dialCode": "1", 476 | "priority": 2, 477 | "areaCodes": [ 478 | "809", 479 | "829", 480 | "849" 481 | ] 482 | }, 483 | { 484 | "name": "Ecuador", 485 | "iso2": "ec", 486 | "dialCode": "593", 487 | "priority": 0, 488 | "areaCodes": null 489 | }, 490 | { 491 | "name": "Egypt (‫مصر‬‎)", 492 | "iso2": "eg", 493 | "dialCode": "20", 494 | "priority": 0, 495 | "areaCodes": null 496 | }, 497 | { 498 | "name": "El Salvador", 499 | "iso2": "sv", 500 | "dialCode": "503", 501 | "priority": 0, 502 | "areaCodes": null 503 | }, 504 | { 505 | "name": "Equatorial Guinea (Guinea Ecuatorial)", 506 | "iso2": "gq", 507 | "dialCode": "240", 508 | "priority": 0, 509 | "areaCodes": null 510 | }, 511 | { 512 | "name": "Eritrea", 513 | "iso2": "er", 514 | "dialCode": "291", 515 | "priority": 0, 516 | "areaCodes": null 517 | }, 518 | { 519 | "name": "Estonia (Eesti)", 520 | "iso2": "ee", 521 | "dialCode": "372", 522 | "priority": 0, 523 | "areaCodes": null 524 | }, 525 | { 526 | "name": "Ethiopia", 527 | "iso2": "et", 528 | "dialCode": "251", 529 | "priority": 0, 530 | "areaCodes": null 531 | }, 532 | { 533 | "name": "Falkland Islands (Islas Malvinas)", 534 | "iso2": "fk", 535 | "dialCode": "500", 536 | "priority": 0, 537 | "areaCodes": null 538 | }, 539 | { 540 | "name": "Faroe Islands (Føroyar)", 541 | "iso2": "fo", 542 | "dialCode": "298", 543 | "priority": 0, 544 | "areaCodes": null 545 | }, 546 | { 547 | "name": "Fiji", 548 | "iso2": "fj", 549 | "dialCode": "679", 550 | "priority": 0, 551 | "areaCodes": null 552 | }, 553 | { 554 | "name": "Finland (Suomi)", 555 | "iso2": "fi", 556 | "dialCode": "358", 557 | "priority": 0, 558 | "areaCodes": null 559 | }, 560 | { 561 | "name": "France", 562 | "iso2": "fr", 563 | "dialCode": "33", 564 | "priority": 0, 565 | "areaCodes": null 566 | }, 567 | { 568 | "name": "French Guiana (Guyane française)", 569 | "iso2": "gf", 570 | "dialCode": "594", 571 | "priority": 0, 572 | "areaCodes": null 573 | }, 574 | { 575 | "name": "French Polynesia (Polynésie française)", 576 | "iso2": "pf", 577 | "dialCode": "689", 578 | "priority": 0, 579 | "areaCodes": null 580 | }, 581 | { 582 | "name": "Gabon", 583 | "iso2": "ga", 584 | "dialCode": "241", 585 | "priority": 0, 586 | "areaCodes": null 587 | }, 588 | { 589 | "name": "Gambia", 590 | "iso2": "gm", 591 | "dialCode": "220", 592 | "priority": 0, 593 | "areaCodes": null 594 | }, 595 | { 596 | "name": "Georgia (საქართველო)", 597 | "iso2": "ge", 598 | "dialCode": "995", 599 | "priority": 0, 600 | "areaCodes": null 601 | }, 602 | { 603 | "name": "Germany (Deutschland)", 604 | "iso2": "de", 605 | "dialCode": "49", 606 | "priority": 0, 607 | "areaCodes": null 608 | }, 609 | { 610 | "name": "Ghana (Gaana)", 611 | "iso2": "gh", 612 | "dialCode": "233", 613 | "priority": 0, 614 | "areaCodes": null 615 | }, 616 | { 617 | "name": "Gibraltar", 618 | "iso2": "gi", 619 | "dialCode": "350", 620 | "priority": 0, 621 | "areaCodes": null 622 | }, 623 | { 624 | "name": "Greece (Ελλάδα)", 625 | "iso2": "gr", 626 | "dialCode": "30", 627 | "priority": 0, 628 | "areaCodes": null 629 | }, 630 | { 631 | "name": "Greenland (Kalaallit Nunaat)", 632 | "iso2": "gl", 633 | "dialCode": "299", 634 | "priority": 0, 635 | "areaCodes": null 636 | }, 637 | { 638 | "name": "Grenada", 639 | "iso2": "gd", 640 | "dialCode": "1473", 641 | "priority": 0, 642 | "areaCodes": null 643 | }, 644 | { 645 | "name": "Guadeloupe", 646 | "iso2": "gp", 647 | "dialCode": "590", 648 | "priority": 0, 649 | "areaCodes": null 650 | }, 651 | { 652 | "name": "Guam", 653 | "iso2": "gu", 654 | "dialCode": "1671", 655 | "priority": 0, 656 | "areaCodes": null 657 | }, 658 | { 659 | "name": "Guatemala", 660 | "iso2": "gt", 661 | "dialCode": "502", 662 | "priority": 0, 663 | "areaCodes": null 664 | }, 665 | { 666 | "name": "Guernsey", 667 | "iso2": "gg", 668 | "dialCode": "44", 669 | "priority": 1, 670 | "areaCodes": null 671 | }, 672 | { 673 | "name": "Guinea (Guinée)", 674 | "iso2": "gn", 675 | "dialCode": "224", 676 | "priority": 0, 677 | "areaCodes": null 678 | }, 679 | { 680 | "name": "Guinea-Bissau (Guiné Bissau)", 681 | "iso2": "gw", 682 | "dialCode": "245", 683 | "priority": 0, 684 | "areaCodes": null 685 | }, 686 | { 687 | "name": "Guyana", 688 | "iso2": "gy", 689 | "dialCode": "592", 690 | "priority": 0, 691 | "areaCodes": null 692 | }, 693 | { 694 | "name": "Haiti", 695 | "iso2": "ht", 696 | "dialCode": "509", 697 | "priority": 0, 698 | "areaCodes": null 699 | }, 700 | { 701 | "name": "Honduras", 702 | "iso2": "hn", 703 | "dialCode": "504", 704 | "priority": 0, 705 | "areaCodes": null 706 | }, 707 | { 708 | "name": "Hong Kong (香港)", 709 | "iso2": "hk", 710 | "dialCode": "852", 711 | "priority": 0, 712 | "areaCodes": null 713 | }, 714 | { 715 | "name": "Hungary (Magyarország)", 716 | "iso2": "hu", 717 | "dialCode": "36", 718 | "priority": 0, 719 | "areaCodes": null 720 | }, 721 | { 722 | "name": "Iceland (Ísland)", 723 | "iso2": "is", 724 | "dialCode": "354", 725 | "priority": 0, 726 | "areaCodes": null 727 | }, 728 | { 729 | "name": "India (भारत)", 730 | "iso2": "in", 731 | "dialCode": "91", 732 | "priority": 0, 733 | "areaCodes": null 734 | }, 735 | { 736 | "name": "Indonesia", 737 | "iso2": "id", 738 | "dialCode": "62", 739 | "priority": 0, 740 | "areaCodes": null 741 | }, 742 | { 743 | "name": "Iran (‫ایران‬‎)", 744 | "iso2": "ir", 745 | "dialCode": "98", 746 | "priority": 0, 747 | "areaCodes": null 748 | }, 749 | { 750 | "name": "Iraq (‫العراق‬‎)", 751 | "iso2": "iq", 752 | "dialCode": "964", 753 | "priority": 0, 754 | "areaCodes": null 755 | }, 756 | { 757 | "name": "Ireland", 758 | "iso2": "ie", 759 | "dialCode": "353", 760 | "priority": 0, 761 | "areaCodes": null 762 | }, 763 | { 764 | "name": "Isle of Man", 765 | "iso2": "im", 766 | "dialCode": "44", 767 | "priority": 2, 768 | "areaCodes": null 769 | }, 770 | { 771 | "name": "Israel (‫ישראל‬‎)", 772 | "iso2": "il", 773 | "dialCode": "972", 774 | "priority": 0, 775 | "areaCodes": null 776 | }, 777 | { 778 | "name": "Italy (Italia)", 779 | "iso2": "it", 780 | "dialCode": "39", 781 | "priority": 0, 782 | "areaCodes": null 783 | }, 784 | { 785 | "name": "Jamaica", 786 | "iso2": "jm", 787 | "dialCode": "1876", 788 | "priority": 0, 789 | "areaCodes": null 790 | }, 791 | { 792 | "name": "Japan (日本)", 793 | "iso2": "jp", 794 | "dialCode": "81", 795 | "priority": 0, 796 | "areaCodes": null 797 | }, 798 | { 799 | "name": "Jersey", 800 | "iso2": "je", 801 | "dialCode": "44", 802 | "priority": 3, 803 | "areaCodes": null 804 | }, 805 | { 806 | "name": "Jordan (‫الأردن‬‎)", 807 | "iso2": "jo", 808 | "dialCode": "962", 809 | "priority": 0, 810 | "areaCodes": null 811 | }, 812 | { 813 | "name": "Kazakhstan (Казахстан)", 814 | "iso2": "kz", 815 | "dialCode": "7", 816 | "priority": 1, 817 | "areaCodes": null 818 | }, 819 | { 820 | "name": "Kenya", 821 | "iso2": "ke", 822 | "dialCode": "254", 823 | "priority": 0, 824 | "areaCodes": null 825 | }, 826 | { 827 | "name": "Kiribati", 828 | "iso2": "ki", 829 | "dialCode": "686", 830 | "priority": 0, 831 | "areaCodes": null 832 | }, 833 | { 834 | "name": "Kuwait (‫الكويت‬‎)", 835 | "iso2": "kw", 836 | "dialCode": "965", 837 | "priority": 0, 838 | "areaCodes": null 839 | }, 840 | { 841 | "name": "Kyrgyzstan (Кыргызстан)", 842 | "iso2": "kg", 843 | "dialCode": "996", 844 | "priority": 0, 845 | "areaCodes": null 846 | }, 847 | { 848 | "name": "Laos (ລາວ)", 849 | "iso2": "la", 850 | "dialCode": "856", 851 | "priority": 0, 852 | "areaCodes": null 853 | }, 854 | { 855 | "name": "Latvia (Latvija)", 856 | "iso2": "lv", 857 | "dialCode": "371", 858 | "priority": 0, 859 | "areaCodes": null 860 | }, 861 | { 862 | "name": "Lebanon (‫لبنان‬‎)", 863 | "iso2": "lb", 864 | "dialCode": "961", 865 | "priority": 0, 866 | "areaCodes": null 867 | }, 868 | { 869 | "name": "Lesotho", 870 | "iso2": "ls", 871 | "dialCode": "266", 872 | "priority": 0, 873 | "areaCodes": null 874 | }, 875 | { 876 | "name": "Liberia", 877 | "iso2": "lr", 878 | "dialCode": "231", 879 | "priority": 0, 880 | "areaCodes": null 881 | }, 882 | { 883 | "name": "Libya (‫ليبيا‬‎)", 884 | "iso2": "ly", 885 | "dialCode": "218", 886 | "priority": 0, 887 | "areaCodes": null 888 | }, 889 | { 890 | "name": "Liechtenstein", 891 | "iso2": "li", 892 | "dialCode": "423", 893 | "priority": 0, 894 | "areaCodes": null 895 | }, 896 | { 897 | "name": "Lithuania (Lietuva)", 898 | "iso2": "lt", 899 | "dialCode": "370", 900 | "priority": 0, 901 | "areaCodes": null 902 | }, 903 | { 904 | "name": "Luxembourg", 905 | "iso2": "lu", 906 | "dialCode": "352", 907 | "priority": 0, 908 | "areaCodes": null 909 | }, 910 | { 911 | "name": "Macau (澳門)", 912 | "iso2": "mo", 913 | "dialCode": "853", 914 | "priority": 0, 915 | "areaCodes": null 916 | }, 917 | { 918 | "name": "Macedonia (FYROM) (Македонија)", 919 | "iso2": "mk", 920 | "dialCode": "389", 921 | "priority": 0, 922 | "areaCodes": null 923 | }, 924 | { 925 | "name": "Madagascar (Madagasikara)", 926 | "iso2": "mg", 927 | "dialCode": "261", 928 | "priority": 0, 929 | "areaCodes": null 930 | }, 931 | { 932 | "name": "Malawi", 933 | "iso2": "mw", 934 | "dialCode": "265", 935 | "priority": 0, 936 | "areaCodes": null 937 | }, 938 | { 939 | "name": "Malaysia", 940 | "iso2": "my", 941 | "dialCode": "60", 942 | "priority": 0, 943 | "areaCodes": null 944 | }, 945 | { 946 | "name": "Maldives", 947 | "iso2": "mv", 948 | "dialCode": "960", 949 | "priority": 0, 950 | "areaCodes": null 951 | }, 952 | { 953 | "name": "Mali", 954 | "iso2": "ml", 955 | "dialCode": "223", 956 | "priority": 0, 957 | "areaCodes": null 958 | }, 959 | { 960 | "name": "Malta", 961 | "iso2": "mt", 962 | "dialCode": "356", 963 | "priority": 0, 964 | "areaCodes": null 965 | }, 966 | { 967 | "name": "Marshall Islands", 968 | "iso2": "mh", 969 | "dialCode": "692", 970 | "priority": 0, 971 | "areaCodes": null 972 | }, 973 | { 974 | "name": "Martinique", 975 | "iso2": "mq", 976 | "dialCode": "596", 977 | "priority": 0, 978 | "areaCodes": null 979 | }, 980 | { 981 | "name": "Mauritania (‫موريتانيا‬‎)", 982 | "iso2": "mr", 983 | "dialCode": "222", 984 | "priority": 0, 985 | "areaCodes": null 986 | }, 987 | { 988 | "name": "Mauritius (Moris)", 989 | "iso2": "mu", 990 | "dialCode": "230", 991 | "priority": 0, 992 | "areaCodes": null 993 | }, 994 | { 995 | "name": "Mayotte", 996 | "iso2": "yt", 997 | "dialCode": "262", 998 | "priority": 1, 999 | "areaCodes": null 1000 | }, 1001 | { 1002 | "name": "Mexico (México)", 1003 | "iso2": "mx", 1004 | "dialCode": "52", 1005 | "priority": 0, 1006 | "areaCodes": null 1007 | }, 1008 | { 1009 | "name": "Micronesia", 1010 | "iso2": "fm", 1011 | "dialCode": "691", 1012 | "priority": 0, 1013 | "areaCodes": null 1014 | }, 1015 | { 1016 | "name": "Moldova (Republica Moldova)", 1017 | "iso2": "md", 1018 | "dialCode": "373", 1019 | "priority": 0, 1020 | "areaCodes": null 1021 | }, 1022 | { 1023 | "name": "Monaco", 1024 | "iso2": "mc", 1025 | "dialCode": "377", 1026 | "priority": 0, 1027 | "areaCodes": null 1028 | }, 1029 | { 1030 | "name": "Mongolia (Монгол)", 1031 | "iso2": "mn", 1032 | "dialCode": "976", 1033 | "priority": 0, 1034 | "areaCodes": null 1035 | }, 1036 | { 1037 | "name": "Montenegro (Crna Gora)", 1038 | "iso2": "me", 1039 | "dialCode": "382", 1040 | "priority": 0, 1041 | "areaCodes": null 1042 | }, 1043 | { 1044 | "name": "Montserrat", 1045 | "iso2": "ms", 1046 | "dialCode": "1664", 1047 | "priority": 0, 1048 | "areaCodes": null 1049 | }, 1050 | { 1051 | "name": "Morocco (‫المغرب‬‎)", 1052 | "iso2": "ma", 1053 | "dialCode": "212", 1054 | "priority": 0, 1055 | "areaCodes": null 1056 | }, 1057 | { 1058 | "name": "Mozambique (Moçambique)", 1059 | "iso2": "mz", 1060 | "dialCode": "258", 1061 | "priority": 0, 1062 | "areaCodes": null 1063 | }, 1064 | { 1065 | "name": "Myanmar (Burma)", 1066 | "iso2": "mm", 1067 | "dialCode": "95", 1068 | "priority": 0, 1069 | "areaCodes": null 1070 | }, 1071 | { 1072 | "name": "Namibia (Namibië)", 1073 | "iso2": "na", 1074 | "dialCode": "264", 1075 | "priority": 0, 1076 | "areaCodes": null 1077 | }, 1078 | { 1079 | "name": "Nauru", 1080 | "iso2": "nr", 1081 | "dialCode": "674", 1082 | "priority": 0, 1083 | "areaCodes": null 1084 | }, 1085 | { 1086 | "name": "Nepal (नेपाल)", 1087 | "iso2": "np", 1088 | "dialCode": "977", 1089 | "priority": 0, 1090 | "areaCodes": null 1091 | }, 1092 | { 1093 | "name": "Netherlands (Nederland)", 1094 | "iso2": "nl", 1095 | "dialCode": "31", 1096 | "priority": 0, 1097 | "areaCodes": null 1098 | }, 1099 | { 1100 | "name": "New Caledonia (Nouvelle-Calédonie)", 1101 | "iso2": "nc", 1102 | "dialCode": "687", 1103 | "priority": 0, 1104 | "areaCodes": null 1105 | }, 1106 | { 1107 | "name": "New Zealand", 1108 | "iso2": "nz", 1109 | "dialCode": "64", 1110 | "priority": 0, 1111 | "areaCodes": null 1112 | }, 1113 | { 1114 | "name": "Nicaragua", 1115 | "iso2": "ni", 1116 | "dialCode": "505", 1117 | "priority": 0, 1118 | "areaCodes": null 1119 | }, 1120 | { 1121 | "name": "Niger (Nijar)", 1122 | "iso2": "ne", 1123 | "dialCode": "227", 1124 | "priority": 0, 1125 | "areaCodes": null 1126 | }, 1127 | { 1128 | "name": "Nigeria", 1129 | "iso2": "ng", 1130 | "dialCode": "234", 1131 | "priority": 0, 1132 | "areaCodes": null 1133 | }, 1134 | { 1135 | "name": "Niue", 1136 | "iso2": "nu", 1137 | "dialCode": "683", 1138 | "priority": 0, 1139 | "areaCodes": null 1140 | }, 1141 | { 1142 | "name": "Norfolk Island", 1143 | "iso2": "nf", 1144 | "dialCode": "672", 1145 | "priority": 0, 1146 | "areaCodes": null 1147 | }, 1148 | { 1149 | "name": "North Korea (조선 민주주의 인민 공화국)", 1150 | "iso2": "kp", 1151 | "dialCode": "850", 1152 | "priority": 0, 1153 | "areaCodes": null 1154 | }, 1155 | { 1156 | "name": "Northern Mariana Islands", 1157 | "iso2": "mp", 1158 | "dialCode": "1670", 1159 | "priority": 0, 1160 | "areaCodes": null 1161 | }, 1162 | { 1163 | "name": "Norway (Norge)", 1164 | "iso2": "no", 1165 | "dialCode": "47", 1166 | "priority": 0, 1167 | "areaCodes": null 1168 | }, 1169 | { 1170 | "name": "Oman (‫عُمان‬‎)", 1171 | "iso2": "om", 1172 | "dialCode": "968", 1173 | "priority": 0, 1174 | "areaCodes": null 1175 | }, 1176 | { 1177 | "name": "Pakistan (‫پاکستان‬‎)", 1178 | "iso2": "pk", 1179 | "dialCode": "92", 1180 | "priority": 0, 1181 | "areaCodes": null 1182 | }, 1183 | { 1184 | "name": "Palau", 1185 | "iso2": "pw", 1186 | "dialCode": "680", 1187 | "priority": 0, 1188 | "areaCodes": null 1189 | }, 1190 | { 1191 | "name": "Palestine (‫فلسطين‬‎)", 1192 | "iso2": "ps", 1193 | "dialCode": "970", 1194 | "priority": 0, 1195 | "areaCodes": null 1196 | }, 1197 | { 1198 | "name": "Panama (Panamá)", 1199 | "iso2": "pa", 1200 | "dialCode": "507", 1201 | "priority": 0, 1202 | "areaCodes": null 1203 | }, 1204 | { 1205 | "name": "Papua New Guinea", 1206 | "iso2": "pg", 1207 | "dialCode": "675", 1208 | "priority": 0, 1209 | "areaCodes": null 1210 | }, 1211 | { 1212 | "name": "Paraguay", 1213 | "iso2": "py", 1214 | "dialCode": "595", 1215 | "priority": 0, 1216 | "areaCodes": null 1217 | }, 1218 | { 1219 | "name": "Peru (Perú)", 1220 | "iso2": "pe", 1221 | "dialCode": "51", 1222 | "priority": 0, 1223 | "areaCodes": null 1224 | }, 1225 | { 1226 | "name": "Philippines", 1227 | "iso2": "ph", 1228 | "dialCode": "63", 1229 | "priority": 0, 1230 | "areaCodes": null 1231 | }, 1232 | { 1233 | "name": "Poland (Polska)", 1234 | "iso2": "pl", 1235 | "dialCode": "48", 1236 | "priority": 0, 1237 | "areaCodes": null 1238 | }, 1239 | { 1240 | "name": "Portugal", 1241 | "iso2": "pt", 1242 | "dialCode": "351", 1243 | "priority": 0, 1244 | "areaCodes": null 1245 | }, 1246 | { 1247 | "name": "Puerto Rico", 1248 | "iso2": "pr", 1249 | "dialCode": "1", 1250 | "priority": 3, 1251 | "areaCodes": [ 1252 | "787", 1253 | "939" 1254 | ] 1255 | }, 1256 | { 1257 | "name": "Qatar (‫قطر‬‎)", 1258 | "iso2": "qa", 1259 | "dialCode": "974", 1260 | "priority": 0, 1261 | "areaCodes": null 1262 | }, 1263 | { 1264 | "name": "Réunion (La Réunion)", 1265 | "iso2": "re", 1266 | "dialCode": "262", 1267 | "priority": 0, 1268 | "areaCodes": null 1269 | }, 1270 | { 1271 | "name": "Romania (România)", 1272 | "iso2": "ro", 1273 | "dialCode": "40", 1274 | "priority": 0, 1275 | "areaCodes": null 1276 | }, 1277 | { 1278 | "name": "Russia (Россия)", 1279 | "iso2": "ru", 1280 | "dialCode": "7", 1281 | "priority": 0, 1282 | "areaCodes": null 1283 | }, 1284 | { 1285 | "name": "Rwanda", 1286 | "iso2": "rw", 1287 | "dialCode": "250", 1288 | "priority": 0, 1289 | "areaCodes": null 1290 | }, 1291 | { 1292 | "name": "Saint Barthélemy (Saint-Barthélemy)", 1293 | "iso2": "bl", 1294 | "dialCode": "590", 1295 | "priority": 1, 1296 | "areaCodes": null 1297 | }, 1298 | { 1299 | "name": "Saint Helena", 1300 | "iso2": "sh", 1301 | "dialCode": "290", 1302 | "priority": 0, 1303 | "areaCodes": null 1304 | }, 1305 | { 1306 | "name": "Saint Kitts and Nevis", 1307 | "iso2": "kn", 1308 | "dialCode": "1869", 1309 | "priority": 0, 1310 | "areaCodes": null 1311 | }, 1312 | { 1313 | "name": "Saint Lucia", 1314 | "iso2": "lc", 1315 | "dialCode": "1758", 1316 | "priority": 0, 1317 | "areaCodes": null 1318 | }, 1319 | { 1320 | "name": "Saint Martin (Saint-Martin (partie française))", 1321 | "iso2": "mf", 1322 | "dialCode": "590", 1323 | "priority": 2, 1324 | "areaCodes": null 1325 | }, 1326 | { 1327 | "name": "Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)", 1328 | "iso2": "pm", 1329 | "dialCode": "508", 1330 | "priority": 0, 1331 | "areaCodes": null 1332 | }, 1333 | { 1334 | "name": "Saint Vincent and the Grenadines", 1335 | "iso2": "vc", 1336 | "dialCode": "1784", 1337 | "priority": 0, 1338 | "areaCodes": null 1339 | }, 1340 | { 1341 | "name": "Samoa", 1342 | "iso2": "ws", 1343 | "dialCode": "685", 1344 | "priority": 0, 1345 | "areaCodes": null 1346 | }, 1347 | { 1348 | "name": "San Marino", 1349 | "iso2": "sm", 1350 | "dialCode": "378", 1351 | "priority": 0, 1352 | "areaCodes": null 1353 | }, 1354 | { 1355 | "name": "São Tomé and Príncipe (São Tomé e Príncipe)", 1356 | "iso2": "st", 1357 | "dialCode": "239", 1358 | "priority": 0, 1359 | "areaCodes": null 1360 | }, 1361 | { 1362 | "name": "Saudi Arabia (‫المملكة العربية السعودية‬‎)", 1363 | "iso2": "sa", 1364 | "dialCode": "966", 1365 | "priority": 0, 1366 | "areaCodes": null 1367 | }, 1368 | { 1369 | "name": "Senegal (Sénégal)", 1370 | "iso2": "sn", 1371 | "dialCode": "221", 1372 | "priority": 0, 1373 | "areaCodes": null 1374 | }, 1375 | { 1376 | "name": "Serbia (Србија)", 1377 | "iso2": "rs", 1378 | "dialCode": "381", 1379 | "priority": 0, 1380 | "areaCodes": null 1381 | }, 1382 | { 1383 | "name": "Seychelles", 1384 | "iso2": "sc", 1385 | "dialCode": "248", 1386 | "priority": 0, 1387 | "areaCodes": null 1388 | }, 1389 | { 1390 | "name": "Sierra Leone", 1391 | "iso2": "sl", 1392 | "dialCode": "232", 1393 | "priority": 0, 1394 | "areaCodes": null 1395 | }, 1396 | { 1397 | "name": "Singapore", 1398 | "iso2": "sg", 1399 | "dialCode": "65", 1400 | "priority": 0, 1401 | "areaCodes": null 1402 | }, 1403 | { 1404 | "name": "Sint Maarten", 1405 | "iso2": "sx", 1406 | "dialCode": "1721", 1407 | "priority": 0, 1408 | "areaCodes": null 1409 | }, 1410 | { 1411 | "name": "Slovakia (Slovensko)", 1412 | "iso2": "sk", 1413 | "dialCode": "421", 1414 | "priority": 0, 1415 | "areaCodes": null 1416 | }, 1417 | { 1418 | "name": "Slovenia (Slovenija)", 1419 | "iso2": "si", 1420 | "dialCode": "386", 1421 | "priority": 0, 1422 | "areaCodes": null 1423 | }, 1424 | { 1425 | "name": "Solomon Islands", 1426 | "iso2": "sb", 1427 | "dialCode": "677", 1428 | "priority": 0, 1429 | "areaCodes": null 1430 | }, 1431 | { 1432 | "name": "Somalia (Soomaaliya)", 1433 | "iso2": "so", 1434 | "dialCode": "252", 1435 | "priority": 0, 1436 | "areaCodes": null 1437 | }, 1438 | { 1439 | "name": "South Africa", 1440 | "iso2": "za", 1441 | "dialCode": "27", 1442 | "priority": 0, 1443 | "areaCodes": null 1444 | }, 1445 | { 1446 | "name": "South Korea (대한민국)", 1447 | "iso2": "kr", 1448 | "dialCode": "82", 1449 | "priority": 0, 1450 | "areaCodes": null 1451 | }, 1452 | { 1453 | "name": "South Sudan (‫جنوب السودان‬‎)", 1454 | "iso2": "ss", 1455 | "dialCode": "211", 1456 | "priority": 0, 1457 | "areaCodes": null 1458 | }, 1459 | { 1460 | "name": "Spain (España)", 1461 | "iso2": "es", 1462 | "dialCode": "34", 1463 | "priority": 0, 1464 | "areaCodes": null 1465 | }, 1466 | { 1467 | "name": "Sri Lanka (ශ්‍රී ලංකාව)", 1468 | "iso2": "lk", 1469 | "dialCode": "94", 1470 | "priority": 0, 1471 | "areaCodes": null 1472 | }, 1473 | { 1474 | "name": "Sudan (‫السودان‬‎)", 1475 | "iso2": "sd", 1476 | "dialCode": "249", 1477 | "priority": 0, 1478 | "areaCodes": null 1479 | }, 1480 | { 1481 | "name": "Suriname", 1482 | "iso2": "sr", 1483 | "dialCode": "597", 1484 | "priority": 0, 1485 | "areaCodes": null 1486 | }, 1487 | { 1488 | "name": "Svalbard and Jan Mayen", 1489 | "iso2": "sj", 1490 | "dialCode": "47", 1491 | "priority": 1, 1492 | "areaCodes": null 1493 | }, 1494 | { 1495 | "name": "Swaziland", 1496 | "iso2": "sz", 1497 | "dialCode": "268", 1498 | "priority": 0, 1499 | "areaCodes": null 1500 | }, 1501 | { 1502 | "name": "Sweden (Sverige)", 1503 | "iso2": "se", 1504 | "dialCode": "46", 1505 | "priority": 0, 1506 | "areaCodes": null 1507 | }, 1508 | { 1509 | "name": "Switzerland (Schweiz)", 1510 | "iso2": "ch", 1511 | "dialCode": "41", 1512 | "priority": 0, 1513 | "areaCodes": null 1514 | }, 1515 | { 1516 | "name": "Syria (‫سوريا‬‎)", 1517 | "iso2": "sy", 1518 | "dialCode": "963", 1519 | "priority": 0, 1520 | "areaCodes": null 1521 | }, 1522 | { 1523 | "name": "Taiwan (台灣)", 1524 | "iso2": "tw", 1525 | "dialCode": "886", 1526 | "priority": 0, 1527 | "areaCodes": null 1528 | }, 1529 | { 1530 | "name": "Tajikistan", 1531 | "iso2": "tj", 1532 | "dialCode": "992", 1533 | "priority": 0, 1534 | "areaCodes": null 1535 | }, 1536 | { 1537 | "name": "Tanzania", 1538 | "iso2": "tz", 1539 | "dialCode": "255", 1540 | "priority": 0, 1541 | "areaCodes": null 1542 | }, 1543 | { 1544 | "name": "Thailand (ไทย)", 1545 | "iso2": "th", 1546 | "dialCode": "66", 1547 | "priority": 0, 1548 | "areaCodes": null 1549 | }, 1550 | { 1551 | "name": "Timor-Leste", 1552 | "iso2": "tl", 1553 | "dialCode": "670", 1554 | "priority": 0, 1555 | "areaCodes": null 1556 | }, 1557 | { 1558 | "name": "Togo", 1559 | "iso2": "tg", 1560 | "dialCode": "228", 1561 | "priority": 0, 1562 | "areaCodes": null 1563 | }, 1564 | { 1565 | "name": "Tokelau", 1566 | "iso2": "tk", 1567 | "dialCode": "690", 1568 | "priority": 0, 1569 | "areaCodes": null 1570 | }, 1571 | { 1572 | "name": "Tonga", 1573 | "iso2": "to", 1574 | "dialCode": "676", 1575 | "priority": 0, 1576 | "areaCodes": null 1577 | }, 1578 | { 1579 | "name": "Trinidad and Tobago", 1580 | "iso2": "tt", 1581 | "dialCode": "1868", 1582 | "priority": 0, 1583 | "areaCodes": null 1584 | }, 1585 | { 1586 | "name": "Tunisia (‫تونس‬‎)", 1587 | "iso2": "tn", 1588 | "dialCode": "216", 1589 | "priority": 0, 1590 | "areaCodes": null 1591 | }, 1592 | { 1593 | "name": "Turkey (Türkiye)", 1594 | "iso2": "tr", 1595 | "dialCode": "90", 1596 | "priority": 0, 1597 | "areaCodes": null 1598 | }, 1599 | { 1600 | "name": "Turkmenistan", 1601 | "iso2": "tm", 1602 | "dialCode": "993", 1603 | "priority": 0, 1604 | "areaCodes": null 1605 | }, 1606 | { 1607 | "name": "Turks and Caicos Islands", 1608 | "iso2": "tc", 1609 | "dialCode": "1649", 1610 | "priority": 0, 1611 | "areaCodes": null 1612 | }, 1613 | { 1614 | "name": "Tuvalu", 1615 | "iso2": "tv", 1616 | "dialCode": "688", 1617 | "priority": 0, 1618 | "areaCodes": null 1619 | }, 1620 | { 1621 | "name": "U.S. Virgin Islands", 1622 | "iso2": "vi", 1623 | "dialCode": "1340", 1624 | "priority": 0, 1625 | "areaCodes": null 1626 | }, 1627 | { 1628 | "name": "Uganda", 1629 | "iso2": "ug", 1630 | "dialCode": "256", 1631 | "priority": 0, 1632 | "areaCodes": null 1633 | }, 1634 | { 1635 | "name": "Ukraine (Україна)", 1636 | "iso2": "ua", 1637 | "dialCode": "380", 1638 | "priority": 0, 1639 | "areaCodes": null 1640 | }, 1641 | { 1642 | "name": "United Arab Emirates (‫الإمارات العربية المتحدة‬‎)", 1643 | "iso2": "ae", 1644 | "dialCode": "971", 1645 | "priority": 0, 1646 | "areaCodes": null 1647 | }, 1648 | { 1649 | "name": "United Kingdom", 1650 | "iso2": "gb", 1651 | "dialCode": "44", 1652 | "priority": 0, 1653 | "areaCodes": null 1654 | }, 1655 | { 1656 | "name": "United States", 1657 | "iso2": "us", 1658 | "dialCode": "1", 1659 | "priority": 0, 1660 | "areaCodes": null 1661 | }, 1662 | { 1663 | "name": "Uruguay", 1664 | "iso2": "uy", 1665 | "dialCode": "598", 1666 | "priority": 0, 1667 | "areaCodes": null 1668 | }, 1669 | { 1670 | "name": "Uzbekistan (Oʻzbekiston)", 1671 | "iso2": "uz", 1672 | "dialCode": "998", 1673 | "priority": 0, 1674 | "areaCodes": null 1675 | }, 1676 | { 1677 | "name": "Vanuatu", 1678 | "iso2": "vu", 1679 | "dialCode": "678", 1680 | "priority": 0, 1681 | "areaCodes": null 1682 | }, 1683 | { 1684 | "name": "Vatican City (Città del Vaticano)", 1685 | "iso2": "va", 1686 | "dialCode": "39", 1687 | "priority": 1, 1688 | "areaCodes": null 1689 | }, 1690 | { 1691 | "name": "Venezuela", 1692 | "iso2": "ve", 1693 | "dialCode": "58", 1694 | "priority": 0, 1695 | "areaCodes": null 1696 | }, 1697 | { 1698 | "name": "Vietnam (Việt Nam)", 1699 | "iso2": "vn", 1700 | "dialCode": "84", 1701 | "priority": 0, 1702 | "areaCodes": null 1703 | }, 1704 | { 1705 | "name": "Wallis and Futuna", 1706 | "iso2": "wf", 1707 | "dialCode": "681", 1708 | "priority": 0, 1709 | "areaCodes": null 1710 | }, 1711 | { 1712 | "name": "Western Sahara (‫الصحراء الغربية‬‎)", 1713 | "iso2": "eh", 1714 | "dialCode": "212", 1715 | "priority": 1, 1716 | "areaCodes": null 1717 | }, 1718 | { 1719 | "name": "Yemen (‫اليمن‬‎)", 1720 | "iso2": "ye", 1721 | "dialCode": "967", 1722 | "priority": 0, 1723 | "areaCodes": null 1724 | }, 1725 | { 1726 | "name": "Zambia", 1727 | "iso2": "zm", 1728 | "dialCode": "260", 1729 | "priority": 0, 1730 | "areaCodes": null 1731 | }, 1732 | { 1733 | "name": "Zimbabwe", 1734 | "iso2": "zw", 1735 | "dialCode": "263", 1736 | "priority": 0, 1737 | "areaCodes": null 1738 | }, 1739 | { 1740 | "name": "Åland Islands", 1741 | "iso2": "ax", 1742 | "dialCode": "358", 1743 | "priority": 1, 1744 | "areaCodes": null 1745 | } 1746 | ] -------------------------------------------------------------------------------- /lib/resources/flags/images/ad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ad.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ae.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ae.png -------------------------------------------------------------------------------- /lib/resources/flags/images/af.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/af.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ag.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ai.png -------------------------------------------------------------------------------- /lib/resources/flags/images/al.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/al.png -------------------------------------------------------------------------------- /lib/resources/flags/images/am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/am.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ao.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ar.png -------------------------------------------------------------------------------- /lib/resources/flags/images/as.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/as.png -------------------------------------------------------------------------------- /lib/resources/flags/images/at.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/at.png -------------------------------------------------------------------------------- /lib/resources/flags/images/au.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/au.png -------------------------------------------------------------------------------- /lib/resources/flags/images/aw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/aw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ax.png -------------------------------------------------------------------------------- /lib/resources/flags/images/az.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/az.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ba.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bb.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bd.png -------------------------------------------------------------------------------- /lib/resources/flags/images/be.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/be.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bh.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bi.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bj.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bl.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bo.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bq.png -------------------------------------------------------------------------------- /lib/resources/flags/images/br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/br.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bs.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/by.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/by.png -------------------------------------------------------------------------------- /lib/resources/flags/images/bz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/bz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ca.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cd.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ch.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ci.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ck.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cl.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/co.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cv.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cx.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cy.png -------------------------------------------------------------------------------- /lib/resources/flags/images/cz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/cz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/de.png -------------------------------------------------------------------------------- /lib/resources/flags/images/dj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/dj.png -------------------------------------------------------------------------------- /lib/resources/flags/images/dk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/dk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/dm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/dm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/do.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/do.png -------------------------------------------------------------------------------- /lib/resources/flags/images/dz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/dz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ec.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ee.png -------------------------------------------------------------------------------- /lib/resources/flags/images/eg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/eg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/eh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/eh.png -------------------------------------------------------------------------------- /lib/resources/flags/images/er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/er.png -------------------------------------------------------------------------------- /lib/resources/flags/images/es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/es.png -------------------------------------------------------------------------------- /lib/resources/flags/images/et.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/et.png -------------------------------------------------------------------------------- /lib/resources/flags/images/fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/fi.png -------------------------------------------------------------------------------- /lib/resources/flags/images/fj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/fj.png -------------------------------------------------------------------------------- /lib/resources/flags/images/fk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/fk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/fm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/fo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/fo.png -------------------------------------------------------------------------------- /lib/resources/flags/images/fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/fr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ga.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gb.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gd.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ge.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gh.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gi.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gp.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gq.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/gy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/gy.png -------------------------------------------------------------------------------- /lib/resources/flags/images/hk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/hk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/hn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/hn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/hr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/hr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ht.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ht.png -------------------------------------------------------------------------------- /lib/resources/flags/images/hu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/hu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/id.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ie.png -------------------------------------------------------------------------------- /lib/resources/flags/images/il.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/il.png -------------------------------------------------------------------------------- /lib/resources/flags/images/im.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/im.png -------------------------------------------------------------------------------- /lib/resources/flags/images/in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/in.png -------------------------------------------------------------------------------- /lib/resources/flags/images/io.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/io.png -------------------------------------------------------------------------------- /lib/resources/flags/images/iq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/iq.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ir.png -------------------------------------------------------------------------------- /lib/resources/flags/images/is.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/is.png -------------------------------------------------------------------------------- /lib/resources/flags/images/it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/it.png -------------------------------------------------------------------------------- /lib/resources/flags/images/je.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/je.png -------------------------------------------------------------------------------- /lib/resources/flags/images/jm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/jm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/jo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/jo.png -------------------------------------------------------------------------------- /lib/resources/flags/images/jp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/jp.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ke.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kh.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ki.png -------------------------------------------------------------------------------- /lib/resources/flags/images/km.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/km.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kp.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ks.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ky.png -------------------------------------------------------------------------------- /lib/resources/flags/images/kz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/kz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/la.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/la.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lb.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/li.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/li.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ls.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/lv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/lv.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ly.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ma.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/md.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/md.png -------------------------------------------------------------------------------- /lib/resources/flags/images/me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/me.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mh.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ml.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mo.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mp.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mq.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ms.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mv.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mx.png -------------------------------------------------------------------------------- /lib/resources/flags/images/my.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/my.png -------------------------------------------------------------------------------- /lib/resources/flags/images/mz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/mz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/na.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/na.png -------------------------------------------------------------------------------- /lib/resources/flags/images/nc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/nc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ne.png -------------------------------------------------------------------------------- /lib/resources/flags/images/nf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/nf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ng.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ni.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ni.png -------------------------------------------------------------------------------- /lib/resources/flags/images/nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/nl.png -------------------------------------------------------------------------------- /lib/resources/flags/images/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/no.png -------------------------------------------------------------------------------- /lib/resources/flags/images/np.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/np.png -------------------------------------------------------------------------------- /lib/resources/flags/images/nr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/nr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/nu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/nu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/nz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/nz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/om.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/om.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pa.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pe.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ph.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pl.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ps.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/pw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/pw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/py.png -------------------------------------------------------------------------------- /lib/resources/flags/images/qa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/qa.png -------------------------------------------------------------------------------- /lib/resources/flags/images/re.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/re.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ro.png -------------------------------------------------------------------------------- /lib/resources/flags/images/rs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/rs.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ru.png -------------------------------------------------------------------------------- /lib/resources/flags/images/rw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/rw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sa.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sb.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sd.png -------------------------------------------------------------------------------- /lib/resources/flags/images/se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/se.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sh.png -------------------------------------------------------------------------------- /lib/resources/flags/images/si.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/si.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sj.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sl.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/so.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/so.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ss.png -------------------------------------------------------------------------------- /lib/resources/flags/images/st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/st.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sv.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sx.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sy.png -------------------------------------------------------------------------------- /lib/resources/flags/images/sz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/sz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/td.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/td.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/th.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tj.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tk.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tl.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/to.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tr.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tv.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tw.png -------------------------------------------------------------------------------- /lib/resources/flags/images/tz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/tz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ua.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ug.png -------------------------------------------------------------------------------- /lib/resources/flags/images/us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/us.png -------------------------------------------------------------------------------- /lib/resources/flags/images/uy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/uy.png -------------------------------------------------------------------------------- /lib/resources/flags/images/uz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/uz.png -------------------------------------------------------------------------------- /lib/resources/flags/images/va.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/va.png -------------------------------------------------------------------------------- /lib/resources/flags/images/vc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/vc.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ve.png -------------------------------------------------------------------------------- /lib/resources/flags/images/vg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/vg.png -------------------------------------------------------------------------------- /lib/resources/flags/images/vi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/vi.png -------------------------------------------------------------------------------- /lib/resources/flags/images/vn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/vn.png -------------------------------------------------------------------------------- /lib/resources/flags/images/vu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/vu.png -------------------------------------------------------------------------------- /lib/resources/flags/images/wf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/wf.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ws.png -------------------------------------------------------------------------------- /lib/resources/flags/images/ye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/ye.png -------------------------------------------------------------------------------- /lib/resources/flags/images/yt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/yt.png -------------------------------------------------------------------------------- /lib/resources/flags/images/za.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/za.png -------------------------------------------------------------------------------- /lib/resources/flags/images/zm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/zm.png -------------------------------------------------------------------------------- /lib/resources/flags/images/zw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naxel/react-native-phone-input/68814172c10d9a80c85014426ff4531bcb35c6a5/lib/resources/flags/images/zw.png -------------------------------------------------------------------------------- /lib/resources/flags/index.js: -------------------------------------------------------------------------------- 1 | let instance = null 2 | 3 | class FlagResource { 4 | static getInstance() { 5 | if (!instance) { 6 | instance = new FlagResource() 7 | } 8 | return instance 9 | } 10 | 11 | constructor() { 12 | this.flags = { 13 | 'ad': require('./images/ad.png'), 14 | 'ae': require('./images/ae.png'), 15 | 'af': require('./images/af.png'), 16 | 'ag': require('./images/ag.png'), 17 | 'ai': require('./images/ai.png'), 18 | 'al': require('./images/al.png'), 19 | 'am': require('./images/am.png'), 20 | 'ao': require('./images/ao.png'), 21 | 'ar': require('./images/ar.png'), 22 | 'as': require('./images/as.png'), 23 | 'at': require('./images/at.png'), 24 | 'au': require('./images/au.png'), 25 | 'aw': require('./images/aw.png'), 26 | 'ax': require('./images/ax.png'), 27 | 'az': require('./images/az.png'), 28 | 'ba': require('./images/ba.png'), 29 | 'bb': require('./images/bb.png'), 30 | 'bd': require('./images/bd.png'), 31 | 'be': require('./images/be.png'), 32 | 'bf': require('./images/bf.png'), 33 | 'bg': require('./images/bg.png'), 34 | 'bh': require('./images/bh.png'), 35 | 'bi': require('./images/bi.png'), 36 | 'bj': require('./images/bj.png'), 37 | 'bl': require('./images/bl.png'), 38 | 'bm': require('./images/bm.png'), 39 | 'bn': require('./images/bn.png'), 40 | 'bo': require('./images/bo.png'), 41 | 'bq': require('./images/bq.png'), 42 | 'br': require('./images/br.png'), 43 | 'bs': require('./images/bs.png'), 44 | 'bt': require('./images/bt.png'), 45 | 'bw': require('./images/bw.png'), 46 | 'by': require('./images/by.png'), 47 | 'bz': require('./images/bz.png'), 48 | 'ca': require('./images/ca.png'), 49 | 'cc': require('./images/cc.png'), 50 | 'cd': require('./images/cd.png'), 51 | 'cf': require('./images/cf.png'), 52 | 'cg': require('./images/cg.png'), 53 | 'ch': require('./images/ch.png'), 54 | 'ci': require('./images/ci.png'), 55 | 'ck': require('./images/ck.png'), 56 | 'cl': require('./images/cl.png'), 57 | 'cm': require('./images/cm.png'), 58 | 'cn': require('./images/cn.png'), 59 | 'co': require('./images/co.png'), 60 | 'cr': require('./images/cr.png'), 61 | 'cu': require('./images/cu.png'), 62 | 'cv': require('./images/cv.png'), 63 | 'cw': require('./images/cw.png'), 64 | 'cx': require('./images/cx.png'), 65 | 'cy': require('./images/cy.png'), 66 | 'cz': require('./images/cz.png'), 67 | 'de': require('./images/de.png'), 68 | 'dj': require('./images/dj.png'), 69 | 'dk': require('./images/dk.png'), 70 | 'dm': require('./images/dm.png'), 71 | 'do': require('./images/do.png'), 72 | 'dz': require('./images/dz.png'), 73 | 'ec': require('./images/ec.png'), 74 | 'ee': require('./images/ee.png'), 75 | 'eg': require('./images/eg.png'), 76 | 'eh': require('./images/eh.png'), 77 | 'er': require('./images/er.png'), 78 | 'es': require('./images/es.png'), 79 | 'et': require('./images/et.png'), 80 | 'fi': require('./images/fi.png'), 81 | 'fj': require('./images/fj.png'), 82 | 'fk': require('./images/fk.png'), 83 | 'fm': require('./images/fm.png'), 84 | 'fo': require('./images/fo.png'), 85 | 'fr': require('./images/fr.png'), 86 | 'ga': require('./images/ga.png'), 87 | 'gb': require('./images/gb.png'), 88 | 'gd': require('./images/gd.png'), 89 | 'ge': require('./images/ge.png'), 90 | 'gf': require('./images/gf.png'), 91 | 'gg': require('./images/gg.png'), 92 | 'gh': require('./images/gh.png'), 93 | 'gi': require('./images/gi.png'), 94 | 'gm': require('./images/gm.png'), 95 | 'gn': require('./images/gn.png'), 96 | 'gp': require('./images/gp.png'), 97 | 'gq': require('./images/gq.png'), 98 | 'gr': require('./images/gr.png'), 99 | 'gt': require('./images/gt.png'), 100 | 'gu': require('./images/gu.png'), 101 | 'gw': require('./images/gw.png'), 102 | 'gy': require('./images/gy.png'), 103 | 'hk': require('./images/hk.png'), 104 | 'hn': require('./images/hn.png'), 105 | 'hr': require('./images/hr.png'), 106 | 'ht': require('./images/ht.png'), 107 | 'hu': require('./images/hu.png'), 108 | 'id': require('./images/id.png'), 109 | 'ie': require('./images/ie.png'), 110 | 'il': require('./images/il.png'), 111 | 'im': require('./images/im.png'), 112 | 'in': require('./images/in.png'), 113 | 'io': require('./images/io.png'), 114 | 'iq': require('./images/iq.png'), 115 | 'ir': require('./images/ir.png'), 116 | 'is': require('./images/is.png'), 117 | 'it': require('./images/it.png'), 118 | 'je': require('./images/je.png'), 119 | 'jm': require('./images/jm.png'), 120 | 'jo': require('./images/jo.png'), 121 | 'jp': require('./images/jp.png'), 122 | 'ke': require('./images/ke.png'), 123 | 'kg': require('./images/kg.png'), 124 | 'kh': require('./images/kh.png'), 125 | 'ki': require('./images/ki.png'), 126 | 'km': require('./images/km.png'), 127 | 'kn': require('./images/kn.png'), 128 | 'kp': require('./images/kp.png'), 129 | 'kr': require('./images/kr.png'), 130 | 'ks': require('./images/ks.png'), 131 | 'kw': require('./images/kw.png'), 132 | 'ky': require('./images/ky.png'), 133 | 'kz': require('./images/kz.png'), 134 | 'la': require('./images/la.png'), 135 | 'lb': require('./images/lb.png'), 136 | 'lc': require('./images/lc.png'), 137 | 'li': require('./images/li.png'), 138 | 'lk': require('./images/lk.png'), 139 | 'lr': require('./images/lr.png'), 140 | 'ls': require('./images/ls.png'), 141 | 'lt': require('./images/lt.png'), 142 | 'lu': require('./images/lu.png'), 143 | 'lv': require('./images/lv.png'), 144 | 'ly': require('./images/ly.png'), 145 | 'ma': require('./images/ma.png'), 146 | 'mc': require('./images/mc.png'), 147 | 'md': require('./images/md.png'), 148 | 'me': require('./images/me.png'), 149 | 'mf': require('./images/mf.png'), 150 | 'mg': require('./images/mg.png'), 151 | 'mh': require('./images/mh.png'), 152 | 'mk': require('./images/mk.png'), 153 | 'ml': require('./images/ml.png'), 154 | 'mm': require('./images/mm.png'), 155 | 'mn': require('./images/mn.png'), 156 | 'mo': require('./images/mo.png'), 157 | 'mp': require('./images/mp.png'), 158 | 'mq': require('./images/mq.png'), 159 | 'mr': require('./images/mr.png'), 160 | 'ms': require('./images/ms.png'), 161 | 'mt': require('./images/mt.png'), 162 | 'mu': require('./images/mu.png'), 163 | 'mv': require('./images/mv.png'), 164 | 'mw': require('./images/mw.png'), 165 | 'mx': require('./images/mx.png'), 166 | 'my': require('./images/my.png'), 167 | 'mz': require('./images/mz.png'), 168 | 'na': require('./images/na.png'), 169 | 'nc': require('./images/nc.png'), 170 | 'ne': require('./images/ne.png'), 171 | 'nf': require('./images/nf.png'), 172 | 'ng': require('./images/ng.png'), 173 | 'ni': require('./images/ni.png'), 174 | 'nl': require('./images/nl.png'), 175 | 'no': require('./images/no.png'), 176 | 'np': require('./images/np.png'), 177 | 'nr': require('./images/nr.png'), 178 | 'nu': require('./images/nu.png'), 179 | 'nz': require('./images/nz.png'), 180 | 'om': require('./images/om.png'), 181 | 'pa': require('./images/pa.png'), 182 | 'pe': require('./images/pe.png'), 183 | 'pf': require('./images/pf.png'), 184 | 'pg': require('./images/pg.png'), 185 | 'ph': require('./images/ph.png'), 186 | 'pk': require('./images/pk.png'), 187 | 'pl': require('./images/pl.png'), 188 | 'pm': require('./images/pm.png'), 189 | 'pr': require('./images/pr.png'), 190 | 'ps': require('./images/ps.png'), 191 | 'pt': require('./images/pt.png'), 192 | 'pw': require('./images/pw.png'), 193 | 'py': require('./images/py.png'), 194 | 'qa': require('./images/qa.png'), 195 | 're': require('./images/re.png'), 196 | 'ro': require('./images/ro.png'), 197 | 'rs': require('./images/rs.png'), 198 | 'ru': require('./images/ru.png'), 199 | 'rw': require('./images/rw.png'), 200 | 'sa': require('./images/sa.png'), 201 | 'sb': require('./images/sb.png'), 202 | 'sc': require('./images/sc.png'), 203 | 'sd': require('./images/sd.png'), 204 | 'se': require('./images/se.png'), 205 | 'sg': require('./images/sg.png'), 206 | 'sh': require('./images/sh.png'), 207 | 'si': require('./images/si.png'), 208 | 'sj': require('./images/sj.png'), 209 | 'sk': require('./images/sk.png'), 210 | 'sl': require('./images/sl.png'), 211 | 'sm': require('./images/sm.png'), 212 | 'sn': require('./images/sn.png'), 213 | 'so': require('./images/so.png'), 214 | 'sr': require('./images/sr.png'), 215 | 'ss': require('./images/ss.png'), 216 | 'st': require('./images/st.png'), 217 | 'sv': require('./images/sv.png'), 218 | 'sx': require('./images/sx.png'), 219 | 'sy': require('./images/sy.png'), 220 | 'sz': require('./images/sz.png'), 221 | 'tc': require('./images/tc.png'), 222 | 'td': require('./images/td.png'), 223 | 'tg': require('./images/tg.png'), 224 | 'th': require('./images/th.png'), 225 | 'tj': require('./images/tj.png'), 226 | 'tk': require('./images/tk.png'), 227 | 'tl': require('./images/tl.png'), 228 | 'tm': require('./images/tm.png'), 229 | 'tn': require('./images/tn.png'), 230 | 'to': require('./images/to.png'), 231 | 'tr': require('./images/tr.png'), 232 | 'tt': require('./images/tt.png'), 233 | 'tv': require('./images/tv.png'), 234 | 'tw': require('./images/tw.png'), 235 | 'tz': require('./images/tz.png'), 236 | 'ua': require('./images/ua.png'), 237 | 'ug': require('./images/ug.png'), 238 | 'us': require('./images/us.png'), 239 | 'uy': require('./images/uy.png'), 240 | 'uz': require('./images/uz.png'), 241 | 'va': require('./images/va.png'), 242 | 'vc': require('./images/vc.png'), 243 | 've': require('./images/ve.png'), 244 | 'vg': require('./images/vg.png'), 245 | 'vi': require('./images/vi.png'), 246 | 'vn': require('./images/vn.png'), 247 | 'vu': require('./images/vu.png'), 248 | 'wf': require('./images/wf.png'), 249 | 'ws': require('./images/ws.png'), 250 | 'ye': require('./images/ye.png'), 251 | 'yt': require('./images/yt.png'), 252 | 'za': require('./images/za.png'), 253 | 'zm': require('./images/zm.png'), 254 | 'zw': require('./images/zw.png'), 255 | } 256 | } 257 | 258 | get(name) { 259 | return this.flags[name] 260 | } 261 | } 262 | 263 | export default FlagResource.getInstance() -------------------------------------------------------------------------------- /lib/resources/numberType.json: -------------------------------------------------------------------------------- 1 | { 2 | "FIXED_LINE": 0, 3 | "MOBILE": 1, 4 | "FIXED_LINE_OR_MOBILE": 2, 5 | "TOLL_FREE": 3, 6 | "PREMIUM_RATE": 4, 7 | "SHARED_COST": 5, 8 | "VOIP": 6, 9 | "PERSONAL_NUMBER": 7, 10 | "PAGER": 8, 11 | "UAN": 9, 12 | "VOICEMAIL": 10, 13 | "UNKNOWN": -1 14 | } 15 | -------------------------------------------------------------------------------- /lib/styles.js: -------------------------------------------------------------------------------- 1 | import { StyleSheet, Dimensions } from 'react-native'; 2 | 3 | const { width } = Dimensions.get('window'); 4 | 5 | const SCREEN_WIDTH = width; 6 | 7 | export default StyleSheet.create({ 8 | container: { 9 | flexDirection: 'row', 10 | alignItems: 'center', 11 | justifyContent: 'center', 12 | // borderWidth:1, 13 | }, 14 | basicContainer: { 15 | flex: 1, 16 | justifyContent: 'flex-end', 17 | alignItems: 'center', 18 | }, 19 | modalContainer: { 20 | width: SCREEN_WIDTH, 21 | justifyContent: 'center', 22 | alignItems: 'center', 23 | padding: 0, 24 | }, 25 | buttonView: { 26 | width: SCREEN_WIDTH, 27 | padding: 8, 28 | borderTopWidth: 0.5, 29 | borderTopColor: 'lightgrey', 30 | justifyContent: 'space-between', 31 | flexDirection: 'row', 32 | }, 33 | bottomPicker: { 34 | width: SCREEN_WIDTH, 35 | }, 36 | flag: { 37 | height: 20, 38 | width: 30, 39 | borderRadius: 2, 40 | borderWidth: 0.5, 41 | borderColor: '#cecece', 42 | backgroundColor: '#cecece', 43 | }, 44 | text: { 45 | height: 20, 46 | padding: 0, 47 | justifyContent: 'center', 48 | }, 49 | }); 50 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-phone-input", 3 | "version": "0.2.1", 4 | "description": "Phone input box for React Native", 5 | "main": "lib/index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git@github.com:thegamenicorus/react-native-phone-input.git" 12 | }, 13 | "keywords": [ 14 | "react-native", 15 | "phone", 16 | "telephone", 17 | "phone input", 18 | "input", 19 | "tel", 20 | "input text", 21 | "international", 22 | "react-native-component", 23 | "ios", 24 | "android" 25 | ], 26 | "dependencies": { 27 | "google-libphonenumber": "^2.0.9", 28 | "lodash": "^4.17.4", 29 | "prop-types": "^15.5.10" 30 | }, 31 | "peerDependencies": { 32 | "react-native": ">= 0.25" 33 | }, 34 | "author": "Watcharachai Kanjaikaew (https://github.com/thegamenicorus)", 35 | "license": "MIT", 36 | "bugs": { 37 | "url": "https://github.com/thegamenicorus/react-native-phone-input/issues" 38 | }, 39 | "homepage": "https://github.com/thegamenicorus/react-native-phone-input" 40 | } 41 | --------------------------------------------------------------------------------