Skip to content
JavaScript HTML Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
public
src
.buckconfig
.eslintrc.json
.flowconfig
.gitattributes
.gitignore
.prettierrc.js
.watchmanconfig
App.js
Dockerfile
README.md
SDK
app.json
config-overrides.js
index.js
metro.config.js
package-lock.json
package.json
react-native.config.js
yarn.lock

README.md

TuMePlay - App

TuMePlay - App is a sexual education application aimed at youth. The wole app is a ReactNative application designed to be a "write once, run everywhere" system : write code in ReactNative, generate PWA / iOS App / Android App.

Install & Build

In order to install dependencies, just run

npm install

To build PWA / static ( output in /build ) :

npm run build

To start Android / iOS emulator :

react-native run-android
or 
react-native run-ios

To start Web dev mode ( open automatically a browser and enable live lint / live reload ) :

npm run webStart
or 
react-app-rewired start

PostInstall

Because we are using a special system to link everything, some Node modules may not be compatible / too old for web ( see react-native-device-info ).

We use a postinstall "sed" to inline replace old export to new export format ( may won't work on Mac system ).

Linter side-effect

Linter may overreact to some code, and automatically add watched variables on useEffect, which may cause infinite loop on theses two files :

  • ContentScreen; remove "eventListener" on useEffect hook
  • HeaderRight; remove "eventListener" on useEffect hook
You can’t perform that action at this time.