1.3.2 • Published 3 years ago

react-native-template-codeapp v1.3.2

Weekly downloads
15
License
MIT
Repository
github
Last release
3 years ago

:space_invader: React Native Template CodeApp

Based on @react-native-community/react-native-template-typescript.

:star: Features

:arrow_forward: Usage

npx react-native init MyAwesomeApp --template react-native-template-codeapp

Note on the legacy CLI

There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).

Further information can be found here: https://github.com/react-native-community/cli#about

:rocket: CodePush

Changing CodePush keys:

Android

  1. Open the file android/app/build.gradle
  2. In buildTypes we have three builds debug, releaseStaging and release. So just change CodePushDeploymentKey value by your key.

build.gradle

iOS

  1. Open ios/MyAwesomeApp.xcworkspace in Xcode or run xed -b ios
  2. Go to Build Settings build.gradle
  3. In Build Settings search by codepush_key. build.gradle
  4. So here we have Debug, Staging and Release keys, just change the values by your CodePush key.

:computer: Contributing

Contributions are very welcome. Please check out the contributing document.

:bookmark: License

This project is MIT licensed.

:email: Contact

Raí Vieira Adriano - Github - raivieiraadriano92@gmail.com