0.0.15 • Published 5 years ago
react-native-template-firebase-sample v0.0.15
Template firebase and MVC
Obs: Para criar novas versões precisa apenas mudar o número da versão no package.json e rodar:
npm publish
Utilizando a template
No prompt digite:
react-native init [newproject] --template firebase-sample
cd [\YOUR\PATH\PROJECT]\[newproject]
- Acesse o arquivo: app.json
- Altere displayName e name para newproject -> (nome definido na criação do projeto)
- Delete as pastas: ios/ e android/
react-native eject
react-native link
npm install
npm audit fix
npm list firebase
react-native run-android
Alterar nome do projeto:
- In app.json file -> Update displayName to the new appName
- Delete ios/ and android/ directories in root project
- At command line Run:
react-native eject
react-native link
###Lista de pacotes instalados: 01 - react-navigation : ^2.0.0-rc.9
02 - react-native-gesture-handler : ^1.1.0
03 - firebase : ^5.9.2
04 - react : 16.8.3
05 - react-native : 0.59.3