Skip to content

Base react native application for scalable project using Redux + React Navigation + Code Push + Realm + Axios + i18n + Google Analytics + Facebook login with fbsdk...

License

Notifications You must be signed in to change notification settings

SuTV/react-native-base-project

Repository files navigation

react-native-base-project

Base react native application for scalable projects using Redux + React Navigation + Code Push + Realm + Axios + i18n + Google Analytics + Facebook login with fbsdk...

App architecture diagram

App folder

Screenshots

Important dependencies:

Quick start

  1. Run npm install
  2. Run unit tests using npm run test:unit
  3. To run on device emulators, you have to have installed react-native npm module, then run react-native run-ios or react-native run-android. See more on React Native getting started.
  4. To run e2e tests run npm run test:e2e

Available Command

npm run ... Description
adb-reverse Reset port ADB to tcp:8081
adb-forward Forward port ADB to tcp:8083
ios-dev Run iOS project with Simulator set to "iPhone X"
ios-bundle Bundle with entry file index.ios.js
ios-build Run ios project with “Release” configuration
android-clean Fix building android if preDexDebug error
android-build-debug Build android .apk with “Debug” configuration
android-release Build android .apk with “Release” configuration
android-signkey Generate keystore android
android-signer To sign app-release-unsigned.apk with random keystore
android-dev Run android development-mode on simulator
android-bundle Bundle with entry file index.android.js

Tips

  • Change keys and codes in .env file
  • Change your Code Push key in iOS and Android project
  • Change your Facebook app ID
  • adb reverse tcp:8081 tcp:8081
  • adb forward tcp:8083 tcp:8083

License

MIT

About

Base react native application for scalable project using Redux + React Navigation + Code Push + Realm + Axios + i18n + Google Analytics + Facebook login with fbsdk...

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published