npm.io
0.0.15 • Published 7 years ago

react-native-template-firebase-sample

Licence
Version
0.0.15
Deps
0
Size
354 kB
Vulns
0
Weekly
0

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