This mobile app (Android ≥ 5.0 "Lollipop" and iOS ≥ 10.0 "Whitetail") is intended to build apps for collecting data for the Child Mind Institute
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system, or visit https://matter.childmind.org/Mindlogger/demo#mobile-app for instructions to download the demo mobile app.
You need to have your own Girder instance running or leave your apiHost
set to 'https://api.mindlogger.info'
in app/config
. Likewise, you'll either need to set up your own filestore or leave s3_image
set to store in our AWS S3 "mindloggerimages"
bucket in app/config
.
You need Node ≤10.11.0, npm ≥4.3.0 & ≤6.4.1, yarn ≥1.3.2 and React Native ≥0.49.3 to be installed. For example
npm -v
4.3.0
yarn -v
1.3.2
react-native -v
react-native: 0.49.3
You also need to have Xcode and Android Studio to be installed.
You need to install packages first.
yarn install
Link packages with React Native iOS and Android projects
react-native link
iOS:
react-native run-ios
Android:
react-native run-android
Continuous integration: changes to the master branch will be automatically built through Bitrise.
iOS:
You can use fastlane From root directory of repository
cd ios
fastlane beta
It will archive release build for iOS and push to appstore. It will take several minutes.
Otherwise, you can build and archive manually using Xcode.
Android:
yarn prod-bundle
yarn prod-build
It will create app-release.apk in android/app/build/outputs folder
- React Native - React Native framework
- Check open issues for known issues and discussions.
- If your issus is not already listed, add your issue, optionally with gitmoji.
- Clone this repository.
- If your issue already has a discussion, see if it has a branch. If so, checkout that branch before creating your own.
- Create a new branch to work in.
- When you're ready to submit your changes, post a pull request from your branch to the branch you branched from (ie, the branch you checked out in step 4 above or
master
). - One or more of the project developers will review your request and merge or request changes.
To be defined.
- Erik Ilyin - Indendent developer
- Child Mind Institute MATTER Lab
See also the list of contributors who participated in this project.