Skip to content
∞ Infinite learning in your pocket.
Branch: master
Clone or download
Latest commit 2dd10ba Jul 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci testing more workers (#350) Jun 28, 2019
.github updated PR template to match mooc's one (#353) Jun 26, 2019
__e2e__ Reduce the cards padding and remove rounded footer (#351) Jun 26, 2019
android v1.1.100 Jul 11, 2019
flow-typed Full Dashboard (#327) Jun 18, 2019
ios v1.1.100 Jul 11, 2019
scripts Microlearning (#299) May 21, 2019
src Fix version override (#370) Jul 11, 2019
storybook Fix infinite splashscreen on Storybook (#238) Apr 1, 2019
.buckconfig Init Sep 7, 2018
.eslintignore Implements coverage (#23) Nov 30, 2018
.eslintrc Try another PR for RN 0.59 (#325) Jun 11, 2019
.flowconfig Try another PR for RN 0.59 (#325) Jun 11, 2019
.gitattributes Init Sep 7, 2018
.gitignore Generate bundle file for Android (#339) Jun 18, 2019
.huskyrc Fix husky hooks Sep 25, 2018
.nvmrc Add packages and config files Sep 7, 2018
.prettierignore Add packages and config files Sep 7, 2018
.watchmanconfig Init Sep 7, 2018
.xcoderc Add Xcode locked version (#276) Apr 29, 2019
README.md Add deeplink schemes (#270) Apr 24, 2019
app.json added assistance on login screen (#221) Mar 27, 2019
assets-transformer.js Feedback sonore (#343) Jun 28, 2019
babel.config.js Try another PR for RN 0.59 (#325) Jun 11, 2019
index.js Feat/question place holder (#347) Jun 20, 2019
jest-setup.js Open mail in magic link steps (#359) Jul 3, 2019
jest.config.e2e.js Reduce the cards padding and remove rounded footer (#351) Jun 26, 2019
jest.config.unit.js Feedback sonore (#343) Jun 28, 2019
metro.config.js Fix Storybook due to metro config change between RN 0.56 -> 0.59 (#342) Jun 19, 2019
package.json v1.1.100 Jul 11, 2019
yarn.lock Fix/language (#369) Jul 9, 2019

README.md

Coorpacademy mobile app

Installation

Please follow this step by step guide.

Development

Code signing

For iOS debug builds, you need to use yarn pull:certificate:ios. If you need more informations, you can read the Match guide.

(facultative) For Android release builds (production mode), you need to use yarn pull:certificate:android command.

First run on iOS
yarn generate:bundle:ios
yarn start:ios
First run on Android

For Android, you may need to allow your emulator to connect to your packager:

adb reverse tcp:7007 tcp:7007
yarn generate:bundle:android
yarn start:android
Daily usage
yarn start[:clean] // clean is optional, it resets the cache

And open your previous app bundle in your Simulator.

This will just run react-native development background task.

Working with local player-services, player-store

When you work on the deps, you need to transpile your sources:

> [player-services]: npm run build:commonjs
> [player-store]: npm run build:commonjs

Then you need to somehow link the store/lib and services/lib in your mobile/node_modules.

Since yarn link does not work properly with metro, this script may help you with this tooling: scripts/sync-local-deps.sh

Storybook

Stop the packager if it is running, and launch the storybook packager:

yarn start:storybook

You will also need to launch your Android emulator/iOS simulator to view your stories.

You can control the selected story in your browser running: yarn storybook && opn https://localhost:7007

Note: This command will automatically indexes all the stories in stories.js files.

Deeplinks

To emulate deeplinks, you can run the following commands:

iOS

xcrun simctl openurl booted coorpacademyapp://<YOUR_ROUTE>

Android

adb shell am start -W -a android.intent.action.VIEW -d coorpacademyapp://<YOUR_ROUTE> com.coorpacademy.app

Firebase

In this section you can find all informations about Firebase parts (Analytics, Dynamic Links, etc) used by the app.

Troubleshooting

In this section you can find all common issues and how we can resolve those.

Upgrade

React Native is a pain to upgrade, the following tips can help you.

Contributing

Feel free to contribute :) but don't forget to run tests before.

You can’t perform that action at this time.