You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wpetit 75b05aae3b fix: add missing @sentry/cli package to dependencies 3 weeks ago
.chglog Project: Add changelog generation task in Makefile 2 years ago
android chore: use localhost:8000 as default orion server 3 weeks ago
bridge/reachview fix: prevent connection disruption with ping interval 8 months ago
containers/ci chore: add letsencrypt root authority in ci container 4 months ago
doc Generate ReachView lib bindings with gomobile 3 years ago
misc Use version build in version name and version code 2 years ago
src chore: better sentry integration 3 weeks ago
.babelrc chore: strip console.* calls in production build 9 months ago
.buckconfig Initial commit 3 years ago
.editorconfig Chore: Add Typescript configuration 10 months ago
.env.dist chore: better sentry integration 3 weeks ago
.flowconfig Chore: Upgrade to React Native 0.63.3 10 months ago
.gitattributes Initial commit 3 years ago
.gitignore fix: https api fetch (take two) 6 months ago
.watchmanconfig Initial commit 3 years ago
CHANGELOG.md Update changelog 2 years ago
Jenkinsfile fix: sentry release 2 months ago
Makefile chore: use localhost:8000 as default orion server 3 weeks ago
README.md fix: release build 2 months ago
app.json Initial commit 3 years ago
index.js chore: better sentry integration 3 weeks ago
metro.config.js fix: release build 2 months ago
package-lock.json fix: add missing @sentry/cli package to dependencies 3 weeks ago
package.json fix: add missing @sentry/cli package to dependencies 3 weeks ago
tsconfig.json feat: per construction site nomenclature synchronization 1 month ago

README.md

Field Notes

Companion app for the Orion project

*/!* Work in progress. Expect dragons!

Getting started

  1. Follow the workspace preparation guide
  2. In your terminal, run
make init
make install-android

Generate a Android release build

  1. Create your keystore
    keytool -genkey -v \
      -keystore 'my-release-key.keystore' \
      -alias 'my-key-alias' \
      -keyalg RSA \
      -keysize 2048 \
      -validity 10000
    
  2. Put your keystore into android/app
  3. Open the android/gradle.properties file et add/edit the following lines:
RELEASE_STORE_FILE=my-release-key.keystore
RELEASE_KEY_ALIAS=my-key-alias
RELEASE_STORE_PASSWORD=*****
RELEASE_KEY_PASSWORD=*****
  1. Generate your release
make android-release

Release source code version

git flow release start $VERSION_TAG
make CHANGELOG_NEXT_TAG=$VERSION_TAG changelog
git add CHANGELOG.md
git commit -m "Update changelog"
git flow release finish
git push

FAQ

Autoriser l'accès en HTTP sur votre environnement de développement

Si vous souhaitez pouvoir tester la synchronisation de votre application Fieldnotes avec un back-office Orion Suite en HTTP, il vous faut modifier le fichier android/app/src/main/res/xml/network_security_config.xml et ajouter le NDD/adresse IP de votre poste dans la liste des exceptions.

Faire une montée de version de react-native

L'outil Upgrade Helper est utile pour voir les modifications de fichiers de configuration lors d'une montée de version.