react-native-firebase

1. 아래 명령으로 설치

npm install --save @react-native-firebase/app

npm add @react-native-firebase/auth

 

2. firebase 사이트로 들어가서 프로젝트를 생성하고

 파일명 : google-services.json을 다운받아서 android\app\ 아래에 복사한다.

 프로젝트 생성할때 패키지명을 적는데 일치해야한다.

 패키지명 : android\app\src\main\AndroidManifest.xml

 

3. 실행을 해서 안된다면 android studio에서 build>clean Project 를 통해 정리해주고 다시 실행한다.

 

'Front End > React-Native' 카테고리의 다른 글

Firebase - Functions  (0) 2020.05.17
React-Native-Image-Picker  (0) 2020.05.04
React-Native Redux 설치  (0) 2020.03.24
React-Navigation  (0) 2020.03.15
[React-Native] Getting Started (Windows)  (0) 2020.03.03

이 글을 공유하기

댓글

Designed by JB FACTORY