boodmo - mobile app based on react-native.
Tech stack:
- react-native;
- redux;
- thunk;
IMPORTANT!
- Clone;
- Git checkout -b [task id] (ex. BOODMO-12002);
- Make changes;
- Pull;
- Git push in your branch.
- Make pull request with task description;
- Wait for review;
How to build app for development:
For ios:
- Buy macbook or smth else with macOS;
- Clone project;
- Install xcode (if you dont have it);
- Cd in project folder and make npm i;
- Cd in ios folder and make pod install + pod update;
- Cd in root project folder and make react-native link;
- React-native run-ios;
For android:
- Java install and add it to $PATH variable;
- Setup android environment (in bash profile);
- Watchman install (it is optional, but not);
- Android studio install + build tools setup + platforms setup (You must open android project -> wait for indexing -> tools -> android -> SDK manager);
- Run android device emulator (You must open android project -> wait for indexing -> tools -> android -> AVD manager);
- Clone project;
- Cd in project folder and make npm i;
- React-native run-android;
How to build app for production: For ios:
- Check CodePushDeploymentKey in Info.plist;
- In Xcode product -> archive and upload to store ver X.X.X.XXXX (4.4.0.100) (STAGING);
- Release boodmoIOS in staging using command "code-push release-react boodmoIOS ios";
- Testing;
- In Xcode product -> archive and upload to testflight ver X.X.X (4.4.0) (PRODUCTION);
- Send production build to review;
- Release boodmoIOS in production using command "code-push promote boodmoIOS"; (If there are some hot fixes)
For android:
- Check reactNativeCodePush_androidDeploymentKey in strings.xml file;
- Send build for testing ver X.X.X.XXXX (4.4.0.100) (STAGING);
- Release boodmoAndroid in staging using command "code-push release-react boodmoAndroid android";
- Testing;
- Upload into google play market store build ver X.X.X.XXXX (4.4.0) (PRODUCTION);
- Promote production build;
- Release boodmoAndroid in production using command "code-push promote boodmoAndroid"; (If there are some hot fixes);
Mobile api documentation: https://app.apiary.io/boodmo/editor