Coding / Programming Videos

Post your favorite coding videos and share them with others!

#22.1 Firebase install and demo on Android in React Native Part 1 | Detail in every centimeter

Download Video link >



#22.1 Firebase install and demo on Android in React Native Part 1 | Detail in every centimeter

– Firebase install and demo on Android in React Native && Detail in every centimeter
– Programming React native
– Source code: https://github.com/uit2712/FirebaseExample

———————————-STEPS———————————-
– STEP 1: Create your new firebase project
+ Go to firebase console: https://console.firebase.google.com/
+ Click ‘Add project’ and enter necessary info, then click ‘Create project’
– STEP 2: Create your new database:
+ Click option ‘Develop’—‘Database’ on the left sidebar, then click button ‘Create database’
+ Choose ‘Start in locked mode’, then click ‘Enable’— Now, you have your own database
– STEP 3: Add Firebase to your android app:
+ In your database overview page—-click button setting besides ‘Project Overview’ on the top left
—-choose ‘Project settings’
+ In the ‘Your apps’ card, select a platform to get started: IOS, android, web app—-I choose Android
+ Enter info:
Android package name: is in file ‘android/app/build.gradle’—-applicationId: in my example is ‘com.firebaseexample’
App nick name: name of app, you can choose any name (this is optional)
+ Click ‘Register app’
+ Then click button ‘Download google-services.json’ (save in folder ‘android/app’)
+ Then click ‘Next’
+ Add Firebase SDK:
—-Edit file ‘android/build.gradle’:
buildscript {
dependencies {
// Add this line
classpath ‘com.google.gms:google-services:4.0.1’
}
}
—-Edit file ‘android/app/build.gradle’:
dependencies {
// Add this line
implementation ‘com.google.firebase:firebase-core:16.0.1’
}

// Add to the bottom of the file
apply plugin: ‘com.google.gms.google-services’
+ Build your app
+ Click ‘Next’ to verify installation

source

Bookmark(0)
 

 

View Comments source >

Transcript view all >

00:25 [Music]

01:19 [Music]

01:22 [Applause]

01:24 [Music]

01:24 [Applause]

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »