Skip to content

Tem Açúcar Android and iOS apps, built with React Native + Redux

Notifications You must be signed in to change notification settings

Wendersonandes/TemAcucar

 
 

Repository files navigation

TemAcucar

Tem Açúcar Android and iOS apps, built with React Native + Redux.

Installation

  • clone the project
  • run npm install

Configuration

  1. Copy .env.sample to .env.debug to create debug environment for development and set the config vars.

  2. Copy .env.sample to .env.staging to create staging environment and set the config vars.

  3. Copy .env.sample to .env.production to create production environment and set the config vars.

iOS Setup

Xcode 7.0 or higher is required. It can be installed from the App Store.

Android Setup

Running on iOS

bin/run-ios

Running on Android

bin/run-android

Building release for iPhone

  • For staging environment release, run bin/build-ios

  • For debug environment release, run ENV=debug bin/build-ios

  • For production environment release, run ENV=production bin/build-ios

Building release for iOS simulator

  • For staging environment release, run bin/build-ios-simulator

  • For production environment release, run ENV=production bin/build-ios-simulator

Building release for Android

  1. Request the appropriate keystore file and passwords to your team's manager and save the keystore file to android/app

  2. Configure the passwords on the appropriate .env.* files

  3. Then:

  • For staging environment release, run bin/build-android

  • For production environment release, run ENV=production bin/build-android

Releasing iOS bundle to CodePush

Use this if you didn't need to rebuild and just want to publish new JS + assets (works only on device, wont work on Appetize.io).

bin/bundle-ios
code-push release TemAcucar-iOS ./release/ios-bundle 0.0.1 --description "JS version X.Y.Z" --mandatory

Releasing Android bundle to CodePush

Use this if you didn't need to rebuild and just want to publish new JS + assets (works only on device, wont work on Appetize.io).

bin/bundle-android
code-push release TemAcucar-Android ./release/android-bundle 0.0.1 --description "JS version X.Y.Z" --mandatory

About

Tem Açúcar Android and iOS apps, built with React Native + Redux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • Objective-C 1.7%
  • Other 1.9%