Git Product home page Git Product logo

mobile's Introduction

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.

mobile's People

Contributors

coorpacademymobile avatar vincentcatillon avatar fausto95 avatar volubyl avatar chrisdugne avatar godu avatar alanlanglois avatar adrieankhisbe avatar adamska27 avatar jomaora avatar marcmdm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.