项目作者: yhenni1989

项目描述 :
React Native component for international phone input with country phone code and flag.
高级语言: JavaScript
项目地址: git://github.com/yhenni1989/PhoneInput.git
创建时间: 2019-01-03T11:06:39Z
项目社区:https://github.com/yhenni1989/PhoneInput

开源协议:MIT License

下载


React Native International Mobile Phone Input

app layout

Overview

  • This app allows users to include international phone input for sign up pages in mobile applications.

  • The user can select the country of residence by opening a modal.

  • The country phone code and flag will be attached to the user’s phone number.

  • The country of default as well as country phone code are set to the United Kingdom.

Running the app

  1. Clone the repo in your local machine.

git clone https://github.com/yhenni1989/PhoneInput.git

  1. Go inside the project directory.

cd PhoneInput

  1. Install client dependencies
  1. yarn
  2. # or
  3. npm install
  1. Launch the simulator

expo start --ios

Step by step tutorial

Read the article of how I made this component on Medium.