machorom / checkhall

checkhall project
0 stars 0 forks source link

firebase push 연동. #5

Closed machorom closed 7 years ago

machorom commented 7 years ago

firebase push 연동.

https://github.com/evollu/react-native-fcm

machorom commented 7 years ago

$ npm install react-native-fcm --save checkhall@0.0.1 D:\code\react\checkhall `-- react-native-fcm@7.0.0

npm WARN react-static-container@1.0.1 requires a peer of react@^0.13.0 || ^0.14.0 || ^15.0.0 but none was installed.

machorom commented 7 years ago

$ react-native link react-native-fcm Scanning 563 folders for symlinks in D:\code\react\checkhall\node_modules (39ms) rnpm-install info Linking react-native-fcm android dependency rnpm-install info Android module react-native-fcm has been successfully linked rnpm-install info Linking react-native-fcm ios dependency rnpm-install info iOS module react-native-fcm has been successfully linked

machorom@DESKTOP-81F6ONF MINGW64 /d/code/react/checkhall (feature3/firebase) $ react-native link react-native-fcm Scanning 563 folders for symlinks in D:\code\react\checkhall\node_modules (38ms) rnpm-install info Android module react-native-fcm is already linked rnpm-install info iOS module react-native-fcm is already linked

machorom commented 7 years ago

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 12.193 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html

firebase 등록 후 google-services.json 파일을 등록 하지 않아 생긴 문제