NearIT coupon scanner
To work on the RedeemIT app you'll need:
Besides basic requirements, to deploy you'll need:
Install the required dependencies by running
yarn install
Each command must be run through Yarn
, like this
yarn <command>
Start the Metro Bundler to compile Javascript code
Start the Metro Bundler
, compile Android native code and launch the development app on a connected device or simulator.
Start the Metro Bundler
, compile iOS native code and launch the development app on a simulator.
N.B. To launch the app on a connected iDevice run the command with the following option
yarn ios --device
N.B. To launche the app on a specific simulator (instead of the default iPhone 6) run the command with the following option
yarn ios --simulator "iPhone X"
Run available Jest tests
Compile app in production
mode and deploy it to Apple Testflight
.
N.B. This is a shortcut command to launch Fastlane
on the ios beta
lane. For more info see Fastlane
doc and this project Fastfile
(located under the fastlane
folder).
Compile app in production
mode and deploy it to Google Play Store Beta
.
N.B. This is a shortcut command to launch Fastlane
on the android beta
lane. For more info see Fastlane
doc and this project Fastfile
(located under the fastlane
folder).
Deployment of this app can be done using Fastlane
scripts.
Deployment to Apple Testflight
and Google Play Store Beta
.
Setup is done automatically when running the publish:ios:beta
command.
To prepare to deploy the Android app you'll need to:
-
Setup your signing configuration inside the
android/keystores
folder:- Rename
release.keystore.properties.sample
file torelease.keystore.properties
- Update
release.keystore.properties
configuration to match your signing reqs (keystore location, key alias, passwords)
- Rename
-
Setup a
Google Service Account
by following the Fastlane supply guide here and saving the downloaded credentials file asgoogle_developer_key.json
under theandroid
folder.
Then simply run the publish:android:beta
command.
Production
deployment must be done by hand through the respective web portals (iTunesConnect and Google Play Developer Console).