SecurityPanel
Development Simulator
- Make sure
npm install
has been run and there is anode_modules
folder - For Windows run
npm run security-windows
else runnpm run security
- Run/open the app on a device
Build and install apk on device (Android)
- Options
- Option 1: Navigate to the android folder (
cd android
) then run.\gradlew assembleRelease
(Prod) or.\gradlew assembleReleaseStaging
(Staging) - Option 2: Open Android Studio as Administrator -> Click
Build
tab ->Generate Signed APK...
-> Enterpassword
->Next
-> Select Build Type (eitherrelease
orreleaseStaging
) -> Check both boxes ->Finish
- Option 1: Navigate to the android folder (
- To install navigate to the apk folder
cd .\app\build\outputs\apk\release\
orcd .\app\build\outputs\apk\releaseStaging\
- For Release/Production build run
adb install .\app-release_{VERSION}.apk
and for Staging runadb install .\app-releaseStaging_{VERSION}.apk
CodePush (Android)
- Once changes have been made, saved, and tested, navigate to the root of this project and run
code-push release-react SecurityPanel-Android android
to push changes to staging - Once changes have been checked on a staging build and a production push is desired, navigate to the root of this project and run
code-push promote SecurityPanel-Android Staging Production -t '*'