Académique Documents
Professionnel Documents
Culture Documents
1. Introduction ............................................................................................................................................ 2
Special features: .................................................................................................................................... 2
Walkthrought ........................................................................................................................................16
5. Features ................................................................................................................................................. 24
Multi Languages:................................................................................................................................. 24
Special features:
• Multi languages
• Network connection info
• Mobx – persist data, state management
This is a fully functional app that you can publish on Google Play and App Store the same
day. All the configuration is in only one file.
1. Splash screen
2. Walkthrough
a. 3 design screen with icons and titles
3. Phone Screen
a. Authenticate with firebase with phone number (sign in & sign up)
b. Country choice modal
c. Auto verified sign in
4. Verification Screen
a. friendly confirmation code
b. resend SMS
5. DisplayName Screen
a. Write you display name
6. Image Screen
a. Image choice
b. Select photos from gallery
c. Take photos from camera
d. Upload image to firebase storage
7. Birthday Screen
a. Choose your birthday from native date choice
8. Home Screen
a. Show all user details with awesome design
9. Network Connection popup
a. Listen to network changes. If network is offline show offline with error
Environment setup
For NPM:
• Node –version
• Npm –version
For Yarn
• Yarn –version
Next, place the downloaded code from codecanyon in some place on your computer. Try
to avoid using Desktop or Downloads.
Open the folder react-native-firebase-phone-auth and open your cmd and run
• For Android:
React-native run-android
• For IOS:
run in from your xcode.
Note: You can run it in your real device (open developer options and enable usb
debugging) or in simulator.
In addition, all the data (in our app – user data) is stored in firebase realtime database
Let's get started. Create an account in Firebase with your google account, then navigate to
firebase
https://firebase.google.com/
Type any project name you want, accept the terms and press create project.
Press on Authentication in left side menu bar and then Sign-in method.
Now, you need to add Android & IOS project into firebase console.
Let’s add android project (you can do ios the same way)
After you download it, drag and replace the one that already exists in project (or if it’s
new project so drag it) under android/app/google-service.json
To allow users to store their images in firebase, you need to enable storage setting.
Press on Storage in left side menu bar, then press Get Started
You will see popup that explains that only users who sign in with firebase can write/read
from storage. Press on Got it
In firebase you can choose to use firebase or firestore. (our app works and communicates
with Firebase, so if you want to communicate with Firestore you should change function.
Check it here).
Press on Database in left side menu bar, then press on Create database
For testing purposes you can choose to start in For publishing or production purposes you can
test mode that allows anyone to be able to choose to start in locked mode that allows only
read or write in your database. users who sign in to read or write from
database.
Splash screen
The name of the file should be short name of language. You can find the charset list here.
Then add the short charset and the file in i18n.js file
Then copy all the keys from en.js file and copy to you new language and replace their value
in translate to their keys. As you can see here new, we add new language support: French(fr)