diff --git a/app/package-lock.json b/app/package-lock.json
index 8cfa17c8..aa8db715 100644
--- a/app/package-lock.json
+++ b/app/package-lock.json
@@ -3360,6 +3360,11 @@
}
}
},
+ "fuse.js": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-2.6.2.tgz",
+ "integrity": "sha1-1dmU/alvVDtaUd84tyzsnMYNneo="
+ },
"gauge": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-1.2.7.tgz",
@@ -3431,6 +3436,11 @@
"resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
"integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ=="
},
+ "google-libphonenumber": {
+ "version": "2.0.19",
+ "resolved": "https://registry.npmjs.org/google-libphonenumber/-/google-libphonenumber-2.0.19.tgz",
+ "integrity": "sha512-kwtbruT+eyiof081cxT1tltMTxgTOq3CQhUoEYBROC+vNf+COPqzfKJtVnDvgXQe4SzfbnAYkP8KoSpbJBIlSg=="
+ },
"graceful-fs": {
"version": "4.1.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
@@ -3980,21 +3990,11 @@
}
},
"lbryinc": {
- "version": "github:lbryio/lbryinc#678c5098e2099dd1560b2fefa2795f38ca3ce07b",
- "from": "github:lbryio/lbryinc",
+ "version": "github:lbryio/lbryinc#7910b565d7edda16be1c9d291f296982261ba60a",
+ "from": "github:lbryio/lbryinc#phone-verification",
"requires": {
- "lbry-redux": "github:lbryio/lbry-redux#421321a78397251589e5a890f4caa95e79975e2b",
+ "lbry-redux": "github:lbryio/lbry-redux#31f7afa8a37f5741dac01fc1ecdf153f3bed95dc",
"reselect": "^3.0.0"
- },
- "dependencies": {
- "lbry-redux": {
- "version": "github:lbryio/lbry-redux#421321a78397251589e5a890f4caa95e79975e2b",
- "from": "github:lbryio/lbry-redux",
- "requires": {
- "proxy-polyfill": "0.1.6",
- "reselect": "^3.0.0"
- }
- }
}
},
"lcid": {
@@ -4098,6 +4098,11 @@
"resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
"integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
},
+ "lodash.toarray": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz",
+ "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE="
+ },
"lodash.unset": {
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/lodash.unset/-/lodash.unset-4.5.2.tgz",
@@ -4564,6 +4569,14 @@
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
"integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk="
},
+ "node-emoji": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.8.1.tgz",
+ "integrity": "sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg==",
+ "requires": {
+ "lodash.toarray": "^4.4.0"
+ }
+ },
"node-fetch": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
@@ -5200,6 +5213,44 @@
}
}
},
+ "react-native-country-picker-modal": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/react-native-country-picker-modal/-/react-native-country-picker-modal-0.6.2.tgz",
+ "integrity": "sha1-upcRi+Q3O+DBHNUeRF5r1Eji8co=",
+ "requires": {
+ "fuse.js": "2.6.2",
+ "lodash": "4.12.0",
+ "node-emoji": "1.8.1",
+ "prop-types": "15.6.0",
+ "react-native-safe-area-view": "^0.7.0",
+ "world-countries": "1.8.0"
+ },
+ "dependencies": {
+ "lodash": {
+ "version": "4.12.0",
+ "resolved": "http://registry.npmjs.org/lodash/-/lodash-4.12.0.tgz",
+ "integrity": "sha1-K9bcRqBA9Z5obJcu0h2T3FkFMlg="
+ },
+ "prop-types": {
+ "version": "15.6.0",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz",
+ "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=",
+ "requires": {
+ "fbjs": "^0.8.16",
+ "loose-envify": "^1.3.1",
+ "object-assign": "^4.1.1"
+ }
+ },
+ "react-native-safe-area-view": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/react-native-safe-area-view/-/react-native-safe-area-view-0.7.0.tgz",
+ "integrity": "sha512-SjLdW/Th0WVMhyngH4O6yC21S+O4U4AAG3QxBr7fZ2ftgjXSpKbDHAhEpxBdFwei6HsnsC2h9oYMtPpaW9nfGg==",
+ "requires": {
+ "hoist-non-react-statics": "^2.3.1"
+ }
+ }
+ }
+ },
"react-native-dismiss-keyboard": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/react-native-dismiss-keyboard/-/react-native-dismiss-keyboard-1.0.0.tgz",
@@ -5263,6 +5314,16 @@
"react-native-image-pan-zoom": "^2.1.2"
}
},
+ "react-native-phone-input": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/react-native-phone-input/-/react-native-phone-input-0.2.1.tgz",
+ "integrity": "sha1-rGhSoeo32NWP+D3tUtGNe2MD5mc=",
+ "requires": {
+ "google-libphonenumber": "^2.0.9",
+ "lodash": "^4.17.4",
+ "prop-types": "^15.5.10"
+ }
+ },
"react-native-safe-area-view": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/react-native-safe-area-view/-/react-native-safe-area-view-0.9.0.tgz",
@@ -6837,6 +6898,11 @@
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
},
+ "world-countries": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/world-countries/-/world-countries-1.8.0.tgz",
+ "integrity": "sha1-F/SOfoRwrFohNq1pON/GVvwry5U="
+ },
"wrap-ansi": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
diff --git a/app/package.json b/app/package.json
index f8904405..be1a2ca8 100644
--- a/app/package.json
+++ b/app/package.json
@@ -8,13 +8,15 @@
"dependencies": {
"base-64": "^0.1.0",
"lbry-redux": "lbryio/lbry-redux",
- "lbryinc": "lbryio/lbryinc",
+ "lbryinc": "lbryio/lbryinc#phone-verification",
"moment": "^2.22.1",
"react": "16.2.0",
"react-native": "0.55.3",
+ "react-native-country-picker-modal": "^0.6.2",
"react-native-fast-image": "^5.0.3",
"react-native-fetch-blob": "^0.10.8",
"react-native-image-zoom-viewer": "^2.2.5",
+ "react-native-phone-input": "^0.2.1",
"react-native-vector-icons": "^5.0.0",
"react-native-video": "lbryio/react-native-video#exoplayer-lbry-android",
"react-navigation": "^2.12.1",
diff --git a/app/src/component/AppNavigator.js b/app/src/component/AppNavigator.js
index 6d8680c4..2efe153b 100644
--- a/app/src/component/AppNavigator.js
+++ b/app/src/component/AppNavigator.js
@@ -268,7 +268,7 @@ class AppWithNavigationState extends React.Component {
}
if ('toast' === currentDisplayType) {
- ToastAndroid.show(message, ToastAndroid.SHORT);
+ ToastAndroid.show(message, ToastAndroid.LONG);
}
dispatch(doHideNotification());
diff --git a/app/src/component/deviceIdRewardSubcard/index.js b/app/src/component/deviceIdRewardSubcard/index.js
deleted file mode 100644
index c79dc730..00000000
--- a/app/src/component/deviceIdRewardSubcard/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { connect } from 'react-redux';
-import { doNotify } from 'lbry-redux';
-import DeviceIdRewardSubcard from './view';
-
-const perform = dispatch => ({
- notify: data => dispatch(doNotify(data))
-});
-
-export default connect(null, perform)(DeviceIdRewardSubcard);
\ No newline at end of file
diff --git a/app/src/component/deviceIdRewardSubcard/view.js b/app/src/component/deviceIdRewardSubcard/view.js
deleted file mode 100644
index 58ef455e..00000000
--- a/app/src/component/deviceIdRewardSubcard/view.js
+++ /dev/null
@@ -1,48 +0,0 @@
-// @flow
-import React from 'react';
-import {
- ActivityIndicator,
- AsyncStorage,
- NativeModules,
- Text,
- TextInput,
- TouchableOpacity,
- View
-} from 'react-native';
-import Icon from 'react-native-vector-icons/FontAwesome5';
-import Button from '../button';
-import Colors from '../../styles/colors';
-import Constants from '../../constants';
-import Link from '../link';
-import rewardStyle from '../../styles/reward';
-
-class DeviceIdRewardSubcard extends React.PureComponent {
- onAllowAccessPressed = () => {
- if (!NativeModules.UtilityModule) {
- return notify({
- message: 'The device ID could not be obtained due to a missing module.',
- displayType: ['toast']
- });
- }
-
- NativeModules.UtilityModule.requestPhoneStatePermission();
- }
-
- render() {
- return (
-
- Pending action: Device ID
-
- The app requires the phone state permission in order to identify your device for reward eligibility.
-
-
-
- );
- }
-};
-
-export default DeviceIdRewardSubcard;
diff --git a/app/src/component/emailRewardSubcard/view.js b/app/src/component/emailRewardSubcard/view.js
index 7389f218..c43242fd 100644
--- a/app/src/component/emailRewardSubcard/view.js
+++ b/app/src/component/emailRewardSubcard/view.js
@@ -86,9 +86,10 @@ class EmailRewardSubcard extends React.PureComponent {
value={this.state.email}
onChangeText={text => this.handleChangeText(text)} />
{!this.state.verifyStarted && }
- {this.state.verifyStarted && emailNewPending && }
+ {this.state.verifyStarted && emailNewPending &&
+ }
);
}
diff --git a/app/src/component/phoneNumberRewardSubcard/index.js b/app/src/component/phoneNumberRewardSubcard/index.js
new file mode 100644
index 00000000..a9bd9866
--- /dev/null
+++ b/app/src/component/phoneNumberRewardSubcard/index.js
@@ -0,0 +1,28 @@
+import { connect } from 'react-redux';
+import { doNotify } from 'lbry-redux';
+import {
+ doUserPhoneNew,
+ doUserPhoneVerify,
+ selectPhoneNewErrorMessage,
+ selectPhoneNewIsPending,
+ selectPhoneToVerify,
+ selectPhoneVerifyIsPending,
+ selectPhoneVerifyErrorMessage
+} from 'lbryinc';
+import PhoneNumberRewardSubcard from './view';
+
+const select = state => ({
+ phoneVerifyErrorMessage: selectPhoneVerifyErrorMessage(state),
+ phoneVerifyIsPending: selectPhoneVerifyIsPending(state),
+ phone: selectPhoneToVerify(state),
+ phoneNewErrorMessage: selectPhoneNewErrorMessage(state),
+ phoneNewIsPending: selectPhoneNewIsPending(state),
+});
+
+const perform = dispatch => ({
+ addUserPhone: (phone, country_code) => dispatch(doUserPhoneNew(phone, country_code)),
+ verifyPhone: (verificationCode) => dispatch(doUserPhoneVerify(verificationCode)),
+ notify: data => dispatch(doNotify(data)),
+});
+
+export default connect(select, perform)(PhoneNumberRewardSubcard);
\ No newline at end of file
diff --git a/app/src/component/phoneNumberRewardSubcard/view.js b/app/src/component/phoneNumberRewardSubcard/view.js
new file mode 100644
index 00000000..5f2bb1fb
--- /dev/null
+++ b/app/src/component/phoneNumberRewardSubcard/view.js
@@ -0,0 +1,253 @@
+// @flow
+import React from 'react';
+import {
+ ActivityIndicator,
+ AsyncStorage,
+ DeviceEventEmitter,
+ NativeModules,
+ StyleSheet,
+ Text,
+ TextInput,
+ TouchableOpacity,
+ View
+} from 'react-native';
+import Button from '../button';
+import Colors from '../../styles/colors';
+import Constants from '../../constants';
+import CountryPicker from 'react-native-country-picker-modal';
+import Icon from 'react-native-vector-icons/FontAwesome5';
+import Link from '../link';
+import PhoneInput from 'react-native-phone-input';
+import rewardStyle from '../../styles/reward';
+
+class PhoneNumberRewardSubcard extends React.PureComponent {
+ phoneInput = null;
+
+ picker = null;
+
+ constructor(props) {
+ super(props);
+ this.state = {
+ canReceiveSms: false,
+ cca2: 'US',
+ codeVerifyStarted: false,
+ codeVerifySuccessful: false,
+ countryCode: null,
+ newPhoneAdded: false,
+ number: null,
+ verificationCode: null,
+ };
+ }
+
+ componentDidMount() {
+ DeviceEventEmitter.addListener('onReceiveSmsPermissionGranted', this.receiveSmsPermissionGranted);
+ DeviceEventEmitter.addListener('onVerificationCodeReceived', this.receiveVerificationCode);
+
+ const { phone } = this.props;
+ if (phone && String(phone).trim().length() > 0) {
+ this.setState({ newPhoneAdded: true });
+ }
+
+ if (NativeModules.UtilityModule) {
+ NativeModules.UtilityModule.canReceiveSms().then(canReceiveSms => this.setState({ canReceiveSms }));
+ }
+ }
+
+ componentWillUnmount() {
+ DeviceEventEmitter.removeListener('onReceiveSmsPermissionGranted', this.receiveSmsPermissionGranted);
+ DeviceEventEmitter.removeListener('onVerificationCodeReceived', this.receiveVerificationCode);
+ }
+
+ componentDidUpdate(prevProps) {
+ const {
+ phoneVerifyIsPending,
+ phoneVerifyErrorMessage,
+ notify,
+ phoneNewErrorMessage,
+ phoneNewIsPending,
+ onPhoneVerifySuccessful
+ } = this.props;
+
+ if (!phoneNewIsPending && (phoneNewIsPending !== prevProps.phoneNewIsPending)) {
+ if (phoneNewErrorMessage) {
+ notify({ message: String(phoneNewErrorMessage), displayType: ['toast'] });
+ } else {
+ this.setState({ newPhoneAdded: true });
+ }
+ }
+ if (!phoneVerifyIsPending && (phoneVerifyIsPending !== prevProps.phoneVerifyIsPending)) {
+ if (phoneVerifyErrorMessage) {
+ notify({ message: String(phoneVerifyErrorMessage), displayType: ['toast'] });
+ this.setState({ codeVerifyStarted: false });
+ } else {
+ notify({ message: 'Your phone number was successfully verified.', displayType: ['toast'] });
+ this.setState({ codeVerifySuccessful: true });
+ if (onPhoneVerifySuccessful) {
+ onPhoneVerifySuccessful();
+ }
+ }
+ }
+ }
+
+ receiveSmsPermissionGranted = () => {
+ this.setState({ canReceiveSms: true });
+ }
+
+ receiveVerificationCode = (evt) => {
+ if (!this.state.newPhoneAdded || this.state.codeVerifySuccessful) {
+ return;
+ }
+
+ const { verifyPhone } = this.props;
+ this.setState({ codeVerifyStarted: true });
+ verifyPhone(evt.code);
+ }
+
+ onAllowAccessPressed = () => {
+ if (!NativeModules.UtilityModule) {
+ return notify({
+ message: 'The required permission could not be obtained due to a missing module.',
+ displayType: ['toast']
+ });
+ }
+
+ NativeModules.UtilityModule.requestReceiveSmsPermission();
+ }
+
+ onSendTextPressed = () => {
+ const { addUserPhone, notify } = this.props;
+
+ if (!this.phoneInput.isValidNumber()) {
+ return notify({
+ message: 'Please provide a valid telephone number.',
+ displayType: ['toast']
+ });
+ }
+
+ const countryCode = this.phoneInput.getCountryCode();
+ const number = this.phoneInput.getValue().replace('+' + countryCode, '');
+ this.setState({ countryCode, number });
+ addUserPhone(number, countryCode);
+ }
+
+ onVerifyPressed = () => {
+ if (this.state.codeVerifyStarted) {
+ return;
+ }
+
+ const { verifyPhone } = this.props;
+ this.setState({ codeVerifyStarted: true });
+ verifyPhone(this.state.verificationCode);
+ }
+
+ onPressFlag = () => {
+ if (this.picker) {
+ this.picker.openModal();
+ }
+ }
+
+ selectCountry(country) {
+ this.phoneInput.selectCountry(country.cca2.toLowerCase());
+ this.setState({ cca2: country.cca2 });
+ }
+
+ handleChangeText = (text) => {
+ this.setState({ verificationCode: text });
+ };
+
+ render() {
+ const {
+ phoneVerifyIsPending,
+ phoneVerifyErrorMessage,
+ phone,
+ phoneErrorMessage,
+ phoneNewIsPending
+ } = this.props;
+
+ if (this.state.codeVerifySuccessful) {
+ return null;
+ }
+
+ return (
+
+ Pending action: Verify Phone Number
+ {!this.state.canReceiveSms &&
+
+
+ You can grant access to the receive SMS permission in order to verify phone number. Alternatively, you can enter the verification code manually.
+
+
+ }
+
+ {!this.state.newPhoneAdded &&
+
+ Please enter your phone number to continue.
+ { this.phoneInput = ref; }}
+ style={StyleSheet.flatten(rewardStyle.phoneInput)}
+ textProps={{ placeholder: '(phone number)' }}
+ textStyle={StyleSheet.flatten(rewardStyle.phoneInputText)}
+ onPressFlag={this.onPressFlag} />
+ {!phoneNewIsPending &&
+ }
+ {phoneNewIsPending &&
+ }
+ }
+ {this.state.newPhoneAdded &&
+
+ {!phoneVerifyIsPending && !this.codeVerifyStarted &&
+
+
+ Please enter the verification code.
+
+ this.handleChangeText(text)}
+ />
+
+
+ }
+ {phoneVerifyIsPending &&
+
+ Verifying your phone number...
+
+ }
+
+ }
+
+
+ { this.picker = picker; }}
+ cca2={this.state.cca2}
+ filterable={true}
+ onChange={value => this.selectCountry(value)}
+ showCallingCode={true}
+ translation="eng">
+
+
+
+ );
+ }
+};
+
+export default PhoneNumberRewardSubcard;
diff --git a/app/src/component/rewardSummary/view.js b/app/src/component/rewardSummary/view.js
index ca61da9c..729e05dc 100644
--- a/app/src/component/rewardSummary/view.js
+++ b/app/src/component/rewardSummary/view.js
@@ -13,24 +13,14 @@ class RewardSummary extends React.Component {
const { user } = this.props;
let actionsLeft = 0;
if (!user || !user.has_verified_email) {
- actionsLeft++;
+ actionsLeft++;
}
- this.setState({ actionsLeft }, () => {
- if (NativeModules.UtilityModule) {
- NativeModules.UtilityModule.canAcquireDeviceId().then(canAcquire => {
- if (!canAcquire) {
- this.setState({ actionsLeft: this.state.actionsLeft + 1 });
- return;
- }
- }).catch(err => {
- this.setState({ actionsLeft: this.state.actionsLeft + 1 });
- });
- } else {
- // unable to retrieve device ID because the native module is not present.
- this.setState({ actionsLeft: this.state.actionsLeft + 1 });
- }
- });
+ if (!user || !user.is_identity_verified) {
+ actionsLeft++;
+ }
+
+ this.setState({ actionsLeft });
}
render() {
diff --git a/app/src/page/rewards/view.js b/app/src/page/rewards/view.js
index 45af3729..b4984037 100644
--- a/app/src/page/rewards/view.js
+++ b/app/src/page/rewards/view.js
@@ -1,7 +1,6 @@
import React from 'react';
import { Lbry } from 'lbry-redux';
import {
- DeviceEventEmitter,
ActivityIndicator,
NativeModules,
ScrollView,
@@ -11,7 +10,7 @@ import {
import { doInstallNew } from 'lbryinc';
import Colors from '../../styles/colors';
import Link from '../../component/link';
-import DeviceIdRewardSubcard from '../../component/deviceIdRewardSubcard';
+import PhoneNumberRewardSubcard from '../../component/phoneNumberRewardSubcard';
import EmailRewardSubcard from '../../component/emailRewardSubcard';
import PageHeader from '../../component/pageHeader';
import RewardCard from '../../component/rewardCard';
@@ -19,33 +18,21 @@ import rewardStyle from '../../styles/reward';
class RewardsPage extends React.PureComponent {
state = {
- canAcquireDeviceId: false,
isEmailVerified: false,
+ isIdentityVerified: false,
isRewardApproved: false,
verifyRequestStarted: false,
};
componentDidMount() {
- DeviceEventEmitter.addListener('onPhoneStatePermissionGranted', this.phoneStatePermissionGranted);
-
this.props.fetchRewards();
const { user } = this.props;
this.setState({
isEmailVerified: (user && user.primary_email && user.has_verified_email),
+ isIdentityVerified: (user && user.is_identity_verified),
isRewardApproved: (user && user.is_reward_approved)
});
-
- if (NativeModules.UtilityModule) {
- const util = NativeModules.UtilityModule;
- util.canAcquireDeviceId().then(canAcquireDeviceId => {
- this.setState({ canAcquireDeviceId });
- });
- }
- }
-
- componentWillUnmount() {
- DeviceEventEmitter.removeListener('onPhoneStatePermissionGranted', this.phoneStatePermissionGranted);
}
componentWillReceiveProps(nextProps) {
@@ -67,13 +54,24 @@ class RewardsPage extends React.PureComponent {
}
renderVerification() {
- if (!this.state.isRewardApproved) {
+ if (!this.state.isEmailVerified || !this.state.isIdentityVerified) {
return (
Humans Only
Rewards are for human beings only. You'll have to prove you're one of us before you can claim any rewards.
- {!this.state.canAcquireDeviceId && }
{!this.state.isEmailVerified && }
+ {!this.state.isIdentityVerified && }
+
+ );
+ }
+
+ if (this.state.isEmailVerified && this.state.isIdentityVerified && !this.state.isRewardApproved) {
+ return (
+
+ Manual Reward Verification
+
+ You need to be manually verified before you can start claiming rewards. Please request to be verified on the .
+
);
}
@@ -81,28 +79,6 @@ class RewardsPage extends React.PureComponent {
return null;
}
- phoneStatePermissionGranted = () => {
- const { install, notify } = this.props;
- if (NativeModules.UtilityModule) {
- const util = NativeModules.UtilityModule;
-
- // Double-check just to be sure
- util.canAcquireDeviceId().then(canAcquireDeviceId => {
- this.setState({ canAcquireDeviceId });
- if (canAcquireDeviceId) {
- util.getDeviceId(false).then(deviceId => {
- NativeModules.VersionInfo.getAppVersion().then(appVersion => {
- doInstallNew(`android-${appVersion}`, deviceId);
- });
- }).catch((error) => {
- notify({ message: error, displayType: ['toast'] });
- this.setState({ canAcquireDeviceId: false });
- });
- }
- });
- }
- }
-
renderUnclaimedRewards() {
const { claimed, fetching, rewards, user } = this.props;
@@ -123,7 +99,8 @@ class RewardsPage extends React.PureComponent {
return (
- {(claimed && claimed.length) ? "You have claimed all available rewards! We're regularly adding more so be sure to check back later." :
+ {(claimed && claimed.length) ?
+ "You have claimed all available rewards! We're regularly adding more so be sure to check back later." :
"There are no rewards available at this time, please check back later."}
@@ -157,13 +134,11 @@ class RewardsPage extends React.PureComponent {
return (
- {this.renderVerification()}
-
-
- {this.renderUnclaimedRewards()}
- {this.renderClaimedRewards()}
-
-
+
+ {this.renderVerification()}
+ {this.renderUnclaimedRewards()}
+ {this.renderClaimedRewards()}
+
);
}
diff --git a/app/src/styles/reward.js b/app/src/styles/reward.js
index b69d82b7..66443fcf 100644
--- a/app/src/styles/reward.js
+++ b/app/src/styles/reward.js
@@ -82,6 +82,12 @@ const rewardStyle = StyleSheet.create({
marginTop: 2,
marginBottom: 2
},
+ topMarginSmall: {
+ marginTop: 8
+ },
+ topMarginMedium: {
+ marginTop: 16
+ },
bottomMarginSmall: {
marginBottom: 8
},
@@ -96,6 +102,9 @@ const rewardStyle = StyleSheet.create({
fontFamily: 'Metropolis-Regular',
fontSize: 14,
},
+ textLink: {
+ color: Colors.LbryGreen
+ },
leftCol: {
width: '15%',
alignItems: 'center',
@@ -153,6 +162,35 @@ const rewardStyle = StyleSheet.create({
fontFamily: 'Metropolis-Regular',
fontSize: 14,
lineHeight: 22
+ },
+ phoneVerificationContainer: {
+ paddingLeft: 4,
+ paddingRight: 4
+ },
+ phoneInput: {
+ marginLeft: 8
+ },
+ phoneInputText: {
+ fontFamily: 'Metropolis-Regular',
+ fontSize: 16,
+ letterSpacing: 1.3
+ },
+ verifyingText: {
+ fontFamily: 'Metropolis-Regular',
+ fontSize: 14,
+ marginLeft: 12,
+ alignSelf: 'flex-start'
+ },
+ verificationCodeInput: {
+ fontFamily: 'Metropolis-Regular',
+ fontSize: 24,
+ letterSpacing: 12
+ },
+ loading: {
+ alignSelf: 'flex-start'
+ },
+ smsPermissionContainer: {
+ marginBottom: 32
}
});
diff --git a/buildozer.spec.sample b/buildozer.spec.sample
index fbbc5af0..7305b759 100644
--- a/buildozer.spec.sample
+++ b/buildozer.spec.sample
@@ -86,7 +86,7 @@ fullscreen = 0
#android.presplash_color = #FFFFFF
# (list) Permissions
-android.permissions = ACCESS_NETWORK_STATE,BLUETOOTH,INTERNET,READ_EXTERNAL_STORAGE,READ_PHONE_STATE,WRITE_EXTERNAL_STORAGE
+android.permissions = ACCESS_NETWORK_STATE,BLUETOOTH,INTERNET,READ_EXTERNAL_STORAGE,RECEIVE_SMS,WRITE_EXTERNAL_STORAGE
# (int) Android API to use
android.api = 27
diff --git a/buildozer.spec.travis b/buildozer.spec.travis
index fbbc5af0..7305b759 100644
--- a/buildozer.spec.travis
+++ b/buildozer.spec.travis
@@ -86,7 +86,7 @@ fullscreen = 0
#android.presplash_color = #FFFFFF
# (list) Permissions
-android.permissions = ACCESS_NETWORK_STATE,BLUETOOTH,INTERNET,READ_EXTERNAL_STORAGE,READ_PHONE_STATE,WRITE_EXTERNAL_STORAGE
+android.permissions = ACCESS_NETWORK_STATE,BLUETOOTH,INTERNET,READ_EXTERNAL_STORAGE,RECEIVE_SMS,WRITE_EXTERNAL_STORAGE
# (int) Android API to use
android.api = 27
diff --git a/buildozer.spec.vagrant b/buildozer.spec.vagrant
index fbbc5af0..7305b759 100644
--- a/buildozer.spec.vagrant
+++ b/buildozer.spec.vagrant
@@ -86,7 +86,7 @@ fullscreen = 0
#android.presplash_color = #FFFFFF
# (list) Permissions
-android.permissions = ACCESS_NETWORK_STATE,BLUETOOTH,INTERNET,READ_EXTERNAL_STORAGE,READ_PHONE_STATE,WRITE_EXTERNAL_STORAGE
+android.permissions = ACCESS_NETWORK_STATE,BLUETOOTH,INTERNET,READ_EXTERNAL_STORAGE,RECEIVE_SMS,WRITE_EXTERNAL_STORAGE
# (int) Android API to use
android.api = 27
diff --git a/release.sh b/release.sh
index a1b48872..7d1c8411 100755
--- a/release.sh
+++ b/release.sh
@@ -8,10 +8,10 @@ jarsigner -verbose -sigalg SHA1withRSA \
-digestalg SHA1 \
-keystore lbry-android.keystore \
-storepass $KEYSTORE_PASSWORD \
- bin/browser-$version-release-unsigned.apk lbry-android \
+ bin/browser-$version-release-unsigned.apk lbry-android > /dev/null \
&& mv bin/browser-$version-release-unsigned.apk bin/browser-$version-release-signed.apk
~/.buildozer/android/platform/android-sdk-23/build-tools/26.0.1/zipalign -v 4 \
- bin/browser-$version-release-signed.apk bin/browser-$version-release.apk \
+ bin/browser-$version-release-signed.apk bin/browser-$version-release.apk > /dev/null \
&& rm bin/browser-$version-release-signed.apk
diff --git a/src/main/java/io/lbry/browser/MainActivity.java b/src/main/java/io/lbry/browser/MainActivity.java
index e283761b..fa84e2b8 100644
--- a/src/main/java/io/lbry/browser/MainActivity.java
+++ b/src/main/java/io/lbry/browser/MainActivity.java
@@ -16,6 +16,7 @@ import android.provider.Settings;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.NotificationManagerCompat;
import android.support.v4.content.ContextCompat;
+import android.telephony.SmsMessage;
import android.telephony.TelephonyManager;
import android.widget.Toast;
@@ -25,7 +26,9 @@ import com.facebook.react.common.LifecycleState;
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
import com.facebook.react.ReactRootView;
import com.facebook.react.ReactInstanceManager;
+import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReactContext;
+import com.facebook.react.bridge.WritableMap;
import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.shell.MainReactPackage;
import com.RNFetchBlob.RNFetchBlobPackage;
@@ -52,10 +55,14 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
private static final int PHONE_STATE_PERMISSION_REQ_CODE = 202;
- private BroadcastReceiver stopServiceReceiver;
+ private static final int RECEIVE_SMS_PERMISSION_REQ_CODE = 203;
private BroadcastReceiver backgroundMediaReceiver;
+ private BroadcastReceiver smsReceiver;
+
+ private BroadcastReceiver stopServiceReceiver;
+
private ReactRootView mReactRootView;
private ReactInstanceManager mReactInstanceManager;
@@ -96,6 +103,9 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
// Register the stop service receiver (so that we close the activity if the user requests the service to stop)
registerStopReceiver();
+ // Register SMS receiver for handling verification texts
+ registerSmsReceiver();
+
// Start the daemon service if it is not started
serviceRunning = isServiceRunning(LbrynetService.class);
if (!serviceRunning) {
@@ -159,6 +169,48 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
registerReceiver(backgroundMediaReceiver, backgroundMediaFilter);
}
+ public void registerSmsReceiver() {
+ if (!hasPermission(Manifest.permission.RECEIVE_SMS, this)) {
+ // don't create the receiver if we don't have the read sms permission
+ return;
+ }
+
+ IntentFilter smsFilter = new IntentFilter();
+ smsFilter.addAction("android.provider.Telephony.SMS_RECEIVED");
+ smsReceiver = new BroadcastReceiver() {
+ @Override
+ public void onReceive(Context context, Intent intent) {
+ // Get the message
+ Bundle bundle = intent.getExtras();
+ if (bundle != null) {
+ Object[] pdus = (Object[]) bundle.get("pdus");
+ if (pdus != null && pdus.length > 0) {
+ SmsMessage sms = SmsMessage.createFromPdu((byte[]) pdus[0]);
+ String text = sms.getMessageBody();
+ if (text == null || text.trim().length() == 0) {
+ return;
+ }
+
+ // Retrieve verification code from the text message if it contains
+ // the strings "lbry", "verification code" and the colon (following the expected format)
+ text = text.toLowerCase();
+ if (text.indexOf("lbry") > -1 && text.indexOf("verification code") > -1 && text.indexOf(":") > -1) {
+ String code = text.substring(text.lastIndexOf(":") + 1).trim();
+ ReactContext reactContext = mReactInstanceManager.getCurrentReactContext();
+ if (reactContext != null) {
+ WritableMap params = Arguments.createMap();
+ params.putString("code", code);
+ reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
+ .emit("onVerificationCodeReceived", params);
+ }
+ }
+ }
+ }
+ }
+ };
+ registerReceiver(smsReceiver, smsFilter);
+ }
+
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == OVERLAY_PERMISSION_REQ_CODE) {
@@ -212,6 +264,27 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
"No permission granted to read your device state. Rewards cannot be claimed.", Toast.LENGTH_LONG).show();
}
break;
+
+ case RECEIVE_SMS_PERMISSION_REQ_CODE:
+ if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
+ // Permission granted. Emit an onPhoneStatePermissionGranted event
+ ReactContext reactContext = mReactInstanceManager.getCurrentReactContext();
+ if (reactContext != null) {
+ reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
+ .emit("onReceiveSmsPermissionGranted", null);
+ }
+
+ // register the receiver
+ if (smsReceiver == null) {
+ registerSmsReceiver();
+ }
+ } else {
+ // Permission not granted. Simply show a message.
+ Toast.makeText(this,
+ "No permission granted to receive your SMS messages. You may have to enter the verification code manually.",
+ Toast.LENGTH_LONG).show();
+ }
+ break;
}
}
@@ -292,6 +365,11 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
backgroundMediaReceiver = null;
}
+ if (smsReceiver != null) {
+ unregisterReceiver(smsReceiver);
+ smsReceiver = null;
+ }
+
if (stopServiceReceiver != null) {
unregisterReceiver(stopServiceReceiver);
stopServiceReceiver = null;
@@ -358,6 +436,15 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
true);
}
+ public static void checkReceiveSmsPermission(Context context) {
+ // Request read phone state permission
+ checkPermission(Manifest.permission.RECEIVE_SMS,
+ RECEIVE_SMS_PERMISSION_REQ_CODE,
+ "LBRY requires access to be able to read a verification text message for rewards.",
+ context,
+ true);
+ }
+
private boolean isServiceRunning(Class> serviceClass) {
ActivityManager manager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
for (ActivityManager.RunningServiceInfo serviceInfo : manager.getRunningServices(Integer.MAX_VALUE)) {
diff --git a/src/main/java/io/lbry/browser/reactmodules/UtilityModule.java b/src/main/java/io/lbry/browser/reactmodules/UtilityModule.java
index 8f9d6bf7..84dee733 100644
--- a/src/main/java/io/lbry/browser/reactmodules/UtilityModule.java
+++ b/src/main/java/io/lbry/browser/reactmodules/UtilityModule.java
@@ -109,9 +109,9 @@ public class UtilityModule extends ReactContextBaseJavaModule {
}
} catch (SecurityException ex) {
// Maybe the permission was not granted? Try to acquire permission
- if (requestPermission) {
+ /*if (requestPermission) {
requestPhoneStatePermission();
- }
+ }*/
} catch (Exception ex) {
// id could not be obtained. Display a warning that rewards cannot be claimed.
promise.reject(ex.getMessage());
@@ -126,20 +126,16 @@ public class UtilityModule extends ReactContextBaseJavaModule {
}
@ReactMethod
- public void canAcquireDeviceId(final Promise promise) {
- if (isEmulator()) {
- promise.resolve(false);
- }
-
- promise.resolve(MainActivity.hasPermission(Manifest.permission.READ_PHONE_STATE, MainActivity.getActivity()));
+ public void canReceiveSms(final Promise promise) {
+ promise.resolve(MainActivity.hasPermission(Manifest.permission.RECEIVE_SMS, MainActivity.getActivity()));
}
@ReactMethod
- public void requestPhoneStatePermission() {
+ public void requestReceiveSmsPermission() {
MainActivity activity = (MainActivity) MainActivity.getActivity();
if (activity != null) {
- // Request for the READ_PHONE_STATE permission
- MainActivity.checkPhoneStatePermission(activity);
+ // Request for the RECEIVE_SMS permission
+ MainActivity.checkReceiveSmsPermission(activity);
}
}
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativecountrypickermodal_src_androidclose.png b/src/main/res/drawable-mdpi/node_modules_reactnativecountrypickermodal_src_androidclose.png
new file mode 100644
index 00000000..f8a96b2a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativecountrypickermodal_src_androidclose.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ad.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ad.png
new file mode 100644
index 00000000..886752f6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ad.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ae.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ae.png
new file mode 100644
index 00000000..a253cd2d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ae.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_af.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_af.png
new file mode 100644
index 00000000..6ae08810
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_af.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ag.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ag.png
new file mode 100644
index 00000000..ee529d2b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ag.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ai.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ai.png
new file mode 100644
index 00000000..a598c566
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ai.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_al.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_al.png
new file mode 100644
index 00000000..4b59dfbd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_al.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_am.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_am.png
new file mode 100644
index 00000000..41b497a3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_am.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ao.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ao.png
new file mode 100644
index 00000000..f5ff2374
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ao.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ar.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ar.png
new file mode 100644
index 00000000..0b25d9cb
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ar.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_as.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_as.png
new file mode 100644
index 00000000..1b571007
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_as.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_at.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_at.png
new file mode 100644
index 00000000..75646bab
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_at.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_au.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_au.png
new file mode 100644
index 00000000..f2572d72
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_au.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_aw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_aw.png
new file mode 100644
index 00000000..a72bfddc
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_aw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ax.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ax.png
new file mode 100644
index 00000000..d78ff2e3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ax.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_az.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_az.png
new file mode 100644
index 00000000..f639aefd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_az.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ba.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ba.png
new file mode 100644
index 00000000..a4ac356d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ba.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bb.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bb.png
new file mode 100644
index 00000000..2bf58e69
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bb.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bd.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bd.png
new file mode 100644
index 00000000..e9872d15
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bd.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_be.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_be.png
new file mode 100644
index 00000000..5d1b8325
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_be.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bf.png
new file mode 100644
index 00000000..5172dbfb
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bg.png
new file mode 100644
index 00000000..d78308df
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bh.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bh.png
new file mode 100644
index 00000000..5e247e7a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bh.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bi.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bi.png
new file mode 100644
index 00000000..26186437
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bi.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bj.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bj.png
new file mode 100644
index 00000000..20e281f2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bj.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bl.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bl.png
new file mode 100644
index 00000000..a4938528
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bl.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bm.png
new file mode 100644
index 00000000..29a8532a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bn.png
new file mode 100644
index 00000000..b4a3e60e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bo.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bo.png
new file mode 100644
index 00000000..342267cb
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bo.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bq.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bq.png
new file mode 100644
index 00000000..0386cc3e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bq.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_br.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_br.png
new file mode 100644
index 00000000..43725657
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_br.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bs.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bs.png
new file mode 100644
index 00000000..1bbb1d8f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bs.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bt.png
new file mode 100644
index 00000000..cd4c8539
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bw.png
new file mode 100644
index 00000000..555d80b3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_by.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_by.png
new file mode 100644
index 00000000..0dc31020
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_by.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bz.png
new file mode 100644
index 00000000..3b6c39e6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_bz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ca.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ca.png
new file mode 100644
index 00000000..c939b041
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ca.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cc.png
new file mode 100644
index 00000000..fa52dba8
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cd.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cd.png
new file mode 100644
index 00000000..44043fac
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cd.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cf.png
new file mode 100644
index 00000000..5b7cb225
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cg.png
new file mode 100644
index 00000000..2d7ce4c0
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ch.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ch.png
new file mode 100644
index 00000000..5fe151ca
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ch.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ci.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ci.png
new file mode 100644
index 00000000..0534124c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ci.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ck.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ck.png
new file mode 100644
index 00000000..e45cb390
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ck.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cl.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cl.png
new file mode 100644
index 00000000..af74ffc9
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cl.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cm.png
new file mode 100644
index 00000000..b33c8115
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cn.png
new file mode 100644
index 00000000..d31bab71
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_co.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_co.png
new file mode 100644
index 00000000..b6aae55c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_co.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cr.png
new file mode 100644
index 00000000..9c92f6de
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cu.png
new file mode 100644
index 00000000..f21090e2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cv.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cv.png
new file mode 100644
index 00000000..6eeae62b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cv.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cw.png
new file mode 100644
index 00000000..c38132ce
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cx.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cx.png
new file mode 100644
index 00000000..9a3e367c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cx.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cy.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cy.png
new file mode 100644
index 00000000..55446041
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cy.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cz.png
new file mode 100644
index 00000000..4fc3adb5
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_cz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_de.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_de.png
new file mode 100644
index 00000000..eea2e58b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_de.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dj.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dj.png
new file mode 100644
index 00000000..dbc95d77
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dj.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dk.png
new file mode 100644
index 00000000..e3471d34
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dm.png
new file mode 100644
index 00000000..a158c88f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_do.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_do.png
new file mode 100644
index 00000000..81fa5e8b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_do.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dz.png
new file mode 100644
index 00000000..b2768bcc
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_dz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ec.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ec.png
new file mode 100644
index 00000000..27fe8115
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ec.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ee.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ee.png
new file mode 100644
index 00000000..21b4b72d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ee.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_eg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_eg.png
new file mode 100644
index 00000000..d98e5d3a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_eg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_eh.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_eh.png
new file mode 100644
index 00000000..cf451799
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_eh.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_er.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_er.png
new file mode 100644
index 00000000..3f88fc52
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_er.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_es.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_es.png
new file mode 100644
index 00000000..f589a835
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_es.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_et.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_et.png
new file mode 100644
index 00000000..d759c2fd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_et.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fi.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fi.png
new file mode 100644
index 00000000..2bcb6a55
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fi.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fj.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fj.png
new file mode 100644
index 00000000..7aef415f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fj.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fk.png
new file mode 100644
index 00000000..7b59f8c1
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fm.png
new file mode 100644
index 00000000..1dfbdffe
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fo.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fo.png
new file mode 100644
index 00000000..e2ca151a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fo.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fr.png
new file mode 100644
index 00000000..fcfa7caf
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_fr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ga.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ga.png
new file mode 100644
index 00000000..2dc5f0fc
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ga.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gb.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gb.png
new file mode 100644
index 00000000..f1e0e126
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gb.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gd.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gd.png
new file mode 100644
index 00000000..5e3ed13b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gd.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ge.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ge.png
new file mode 100644
index 00000000..cd5b75de
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ge.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gf.png
new file mode 100644
index 00000000..fb15b809
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gg.png
new file mode 100644
index 00000000..1cf113d4
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gh.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gh.png
new file mode 100644
index 00000000..a7b60ce7
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gh.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gi.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gi.png
new file mode 100644
index 00000000..74fae09c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gi.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gm.png
new file mode 100644
index 00000000..ca440bb6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gn.png
new file mode 100644
index 00000000..0740a3fc
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gp.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gp.png
new file mode 100644
index 00000000..3223f1a3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gp.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gq.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gq.png
new file mode 100644
index 00000000..bc9c8c46
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gq.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gr.png
new file mode 100644
index 00000000..ec65864a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gt.png
new file mode 100644
index 00000000..3c7cee7d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gu.png
new file mode 100644
index 00000000..c7e586f3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gw.png
new file mode 100644
index 00000000..515d457f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gy.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gy.png
new file mode 100644
index 00000000..6c3e6733
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_gy.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hk.png
new file mode 100644
index 00000000..d7bbe5a2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hn.png
new file mode 100644
index 00000000..ee1d1028
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hr.png
new file mode 100644
index 00000000..2dae8a8a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ht.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ht.png
new file mode 100644
index 00000000..2e15f899
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ht.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hu.png
new file mode 100644
index 00000000..c1c028ec
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_hu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_id.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_id.png
new file mode 100644
index 00000000..619215da
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_id.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ie.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ie.png
new file mode 100644
index 00000000..3881ba34
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ie.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_il.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_il.png
new file mode 100644
index 00000000..33fc90c2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_il.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_im.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_im.png
new file mode 100644
index 00000000..a7a52cfa
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_im.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_in.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_in.png
new file mode 100644
index 00000000..2f06567b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_in.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_io.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_io.png
new file mode 100644
index 00000000..58a4b9be
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_io.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_iq.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_iq.png
new file mode 100644
index 00000000..6b5eb22a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_iq.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ir.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ir.png
new file mode 100644
index 00000000..36f7ec83
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ir.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_is.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_is.png
new file mode 100644
index 00000000..74fef41d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_is.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_it.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_it.png
new file mode 100644
index 00000000..ff7ed317
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_it.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_je.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_je.png
new file mode 100644
index 00000000..dced1b0b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_je.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jm.png
new file mode 100644
index 00000000..68e58fee
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jo.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jo.png
new file mode 100644
index 00000000..57bd76a6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jo.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jp.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jp.png
new file mode 100644
index 00000000..33f3a757
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_jp.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ke.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ke.png
new file mode 100644
index 00000000..9e8373fd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ke.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kg.png
new file mode 100644
index 00000000..3e7d6611
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kh.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kh.png
new file mode 100644
index 00000000..cf76786b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kh.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ki.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ki.png
new file mode 100644
index 00000000..ff8e470d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ki.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_km.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_km.png
new file mode 100644
index 00000000..cbd5e1b5
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_km.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kn.png
new file mode 100644
index 00000000..fed64fc0
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kp.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kp.png
new file mode 100644
index 00000000..b25aadc3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kp.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kr.png
new file mode 100644
index 00000000..d035cab9
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ks.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ks.png
new file mode 100644
index 00000000..942e1b58
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ks.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kw.png
new file mode 100644
index 00000000..8c01668d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ky.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ky.png
new file mode 100644
index 00000000..80bf785d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ky.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kz.png
new file mode 100644
index 00000000..436ac8a1
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_kz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_la.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_la.png
new file mode 100644
index 00000000..87d7fb3c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_la.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lb.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lb.png
new file mode 100644
index 00000000..7d3659ab
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lb.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lc.png
new file mode 100644
index 00000000..4bb0487c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_li.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_li.png
new file mode 100644
index 00000000..b68b433a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_li.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lk.png
new file mode 100644
index 00000000..15e45c81
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lr.png
new file mode 100644
index 00000000..36948eef
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ls.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ls.png
new file mode 100644
index 00000000..70cab723
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ls.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lt.png
new file mode 100644
index 00000000..80bc5805
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lu.png
new file mode 100644
index 00000000..c5c2246c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lv.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lv.png
new file mode 100644
index 00000000..75431d19
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_lv.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ly.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ly.png
new file mode 100644
index 00000000..2914da29
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ly.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ma.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ma.png
new file mode 100644
index 00000000..0f751a1c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ma.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mc.png
new file mode 100644
index 00000000..3f8311b2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_md.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_md.png
new file mode 100644
index 00000000..4645ae10
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_md.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_me.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_me.png
new file mode 100644
index 00000000..941d51d4
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_me.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mf.png
new file mode 100644
index 00000000..fcfa7caf
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mg.png
new file mode 100644
index 00000000..43922054
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mh.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mh.png
new file mode 100644
index 00000000..8438bfa3
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mh.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mk.png
new file mode 100644
index 00000000..3c08615b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ml.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ml.png
new file mode 100644
index 00000000..ce81958a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ml.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mm.png
new file mode 100644
index 00000000..3c1c0856
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mn.png
new file mode 100644
index 00000000..2771b270
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mo.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mo.png
new file mode 100644
index 00000000..2e62a9d8
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mo.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mp.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mp.png
new file mode 100644
index 00000000..98ce37bd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mp.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mq.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mq.png
new file mode 100644
index 00000000..06466b3b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mq.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mr.png
new file mode 100644
index 00000000..f4dcf1d2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ms.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ms.png
new file mode 100644
index 00000000..163f5996
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ms.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mt.png
new file mode 100644
index 00000000..950502ab
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mu.png
new file mode 100644
index 00000000..a6349637
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mv.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mv.png
new file mode 100644
index 00000000..565a4083
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mv.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mw.png
new file mode 100644
index 00000000..442dbc58
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mx.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mx.png
new file mode 100644
index 00000000..666424d1
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mx.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_my.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_my.png
new file mode 100644
index 00000000..215448cd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_my.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mz.png
new file mode 100644
index 00000000..18e2a949
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_mz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_na.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_na.png
new file mode 100644
index 00000000..ca31b5d2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_na.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nc.png
new file mode 100644
index 00000000..a55d0374
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ne.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ne.png
new file mode 100644
index 00000000..e0097297
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ne.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nf.png
new file mode 100644
index 00000000..8a83dbf4
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ng.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ng.png
new file mode 100644
index 00000000..ee5775a8
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ng.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ni.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ni.png
new file mode 100644
index 00000000..2ebe882a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ni.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nl.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nl.png
new file mode 100644
index 00000000..0386cc3e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nl.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_no.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_no.png
new file mode 100644
index 00000000..bb2f806b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_no.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_np.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_np.png
new file mode 100644
index 00000000..726500cc
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_np.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nr.png
new file mode 100644
index 00000000..65b58110
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nu.png
new file mode 100644
index 00000000..4bc2ad23
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nz.png
new file mode 100644
index 00000000..abe4acf6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_nz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_om.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_om.png
new file mode 100644
index 00000000..86812676
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_om.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pa.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pa.png
new file mode 100644
index 00000000..e821dee8
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pa.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pe.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pe.png
new file mode 100644
index 00000000..5af51ad7
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pe.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pf.png
new file mode 100644
index 00000000..4ecb31d9
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pg.png
new file mode 100644
index 00000000..14818457
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ph.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ph.png
new file mode 100644
index 00000000..ffa33a92
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ph.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pk.png
new file mode 100644
index 00000000..645971c5
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pl.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pl.png
new file mode 100644
index 00000000..9d4e6925
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pl.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pm.png
new file mode 100644
index 00000000..336cb210
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pr.png
new file mode 100644
index 00000000..3fc7a074
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ps.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ps.png
new file mode 100644
index 00000000..ffc7621a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ps.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pt.png
new file mode 100644
index 00000000..6526f8c1
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pw.png
new file mode 100644
index 00000000..0a91ea56
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_pw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_py.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_py.png
new file mode 100644
index 00000000..40dffa49
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_py.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_qa.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_qa.png
new file mode 100644
index 00000000..9cf00683
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_qa.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_re.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_re.png
new file mode 100644
index 00000000..1dc648e7
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_re.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ro.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ro.png
new file mode 100644
index 00000000..0bee8d1a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ro.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_rs.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_rs.png
new file mode 100644
index 00000000..19fd38a6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_rs.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ru.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ru.png
new file mode 100644
index 00000000..66741a4d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ru.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_rw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_rw.png
new file mode 100644
index 00000000..24080d6d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_rw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sa.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sa.png
new file mode 100644
index 00000000..66dadb5b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sa.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sb.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sb.png
new file mode 100644
index 00000000..97e0fc7c
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sb.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sc.png
new file mode 100644
index 00000000..76863735
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sd.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sd.png
new file mode 100644
index 00000000..9a6f886d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sd.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_se.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_se.png
new file mode 100644
index 00000000..59595199
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_se.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sg.png
new file mode 100644
index 00000000..8ba42209
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sh.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sh.png
new file mode 100644
index 00000000..d4c97406
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sh.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_si.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_si.png
new file mode 100644
index 00000000..3b751344
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_si.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sj.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sj.png
new file mode 100644
index 00000000..bb2f806b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sj.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sk.png
new file mode 100644
index 00000000..0769397a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sl.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sl.png
new file mode 100644
index 00000000..96cddd4f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sl.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sm.png
new file mode 100644
index 00000000..4ee071c2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sn.png
new file mode 100644
index 00000000..9415c60e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_so.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_so.png
new file mode 100644
index 00000000..93a7fdc9
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_so.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sr.png
new file mode 100644
index 00000000..47092d9e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ss.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ss.png
new file mode 100644
index 00000000..e5f2259d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ss.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_st.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_st.png
new file mode 100644
index 00000000..85f7d386
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_st.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sv.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sv.png
new file mode 100644
index 00000000..97795729
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sv.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sx.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sx.png
new file mode 100644
index 00000000..ec17c244
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sx.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sy.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sy.png
new file mode 100644
index 00000000..a80b6b11
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sy.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sz.png
new file mode 100644
index 00000000..89337677
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_sz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tc.png
new file mode 100644
index 00000000..5f5c2449
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_td.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_td.png
new file mode 100644
index 00000000..41f123b5
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_td.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tg.png
new file mode 100644
index 00000000..a4a1d9f9
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_th.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_th.png
new file mode 100644
index 00000000..f0f7207d
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_th.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tj.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tj.png
new file mode 100644
index 00000000..682b5e0f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tj.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tk.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tk.png
new file mode 100644
index 00000000..24b93302
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tk.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tl.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tl.png
new file mode 100644
index 00000000..8a98e900
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tl.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tm.png
new file mode 100644
index 00000000..58567c81
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tn.png
new file mode 100644
index 00000000..db4951a6
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_to.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_to.png
new file mode 100644
index 00000000..95b78ce2
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_to.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tr.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tr.png
new file mode 100644
index 00000000..95d0c871
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tr.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tt.png
new file mode 100644
index 00000000..39a4af42
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tv.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tv.png
new file mode 100644
index 00000000..6bfe412e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tv.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tw.png
new file mode 100644
index 00000000..80e07d81
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tw.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tz.png
new file mode 100644
index 00000000..446ecb4f
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_tz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ua.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ua.png
new file mode 100644
index 00000000..00234794
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ua.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ug.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ug.png
new file mode 100644
index 00000000..cdcab6a1
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ug.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_us.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_us.png
new file mode 100644
index 00000000..5b96ff24
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_us.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_uy.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_uy.png
new file mode 100644
index 00000000..219ef44a
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_uy.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_uz.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_uz.png
new file mode 100644
index 00000000..80e0a446
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_uz.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_va.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_va.png
new file mode 100644
index 00000000..c94c81dd
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_va.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vc.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vc.png
new file mode 100644
index 00000000..77196ed9
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vc.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ve.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ve.png
new file mode 100644
index 00000000..40ae68eb
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ve.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vg.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vg.png
new file mode 100644
index 00000000..4de2078b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vg.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vi.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vi.png
new file mode 100644
index 00000000..a4bd67cb
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vi.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vn.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vn.png
new file mode 100644
index 00000000..d6838523
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vn.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vu.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vu.png
new file mode 100644
index 00000000..e1ad764e
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_vu.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_wf.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_wf.png
new file mode 100644
index 00000000..c3c5a9e8
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_wf.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ws.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ws.png
new file mode 100644
index 00000000..71db01fa
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ws.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ye.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ye.png
new file mode 100644
index 00000000..3a2e0a2b
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_ye.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_yt.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_yt.png
new file mode 100644
index 00000000..fcfa7caf
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_yt.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_za.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_za.png
new file mode 100644
index 00000000..535fe710
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_za.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_zm.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_zm.png
new file mode 100644
index 00000000..7b0246a8
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_zm.png differ
diff --git a/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_zw.png b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_zw.png
new file mode 100644
index 00000000..abf13869
Binary files /dev/null and b/src/main/res/drawable-mdpi/node_modules_reactnativephoneinput_lib_resources_flags_images_zw.png differ