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 0c6f2d3846 fix: zIndex on map layers (#29) 2 months ago
.chglog Project: Add changelog generation task in Makefile 3 years ago
android feat: register and use device id in the synchronization process 4 months ago
bridge/reachview fix: prevent connection disruption with ping interval 2 years ago
containers/ci chore(ci): update ci environment 4 months ago
doc Generate ReachView lib bindings with gomobile 4 years ago
misc Use version build in version name and version code 3 years ago
src fix: zIndex on map layers (#29) 2 months ago
.babelrc chore: strip console.* calls in production build 2 years ago
.buckconfig Initial commit 4 years ago
.editorconfig Chore: Add Typescript configuration 2 years ago
.env.dist chore: better sentry integration 1 year ago
.flowconfig Chore: Upgrade to React Native 0.63.3 2 years ago
.gitattributes Initial commit 4 years ago
.gitignore fix: https api fetch (take two) 2 years ago
.watchmanconfig Initial commit 4 years ago
CHANGELOG.md Update changelog 3 years ago
Jenkinsfile chore(ci): remove jenkins required node label 4 months ago
Makefile chore: use localhost:8000 as default orion server 1 year ago
README.md chore: update readme 4 months ago
app.json Initial commit 4 years ago
index.js chore: better sentry integration 1 year ago
metro.config.js fix: release build 1 year ago
package-lock.json Nettoyage des plans GeoJSON avant stockage sur le téléphone (#25) 2 months ago
package.json Nettoyage des plans GeoJSON avant stockage sur le téléphone (#25) 2 months ago
tsconfig.json feat: per construction site nomenclature synchronization 1 year ago

README.md

Field Notes

Companion app for the Orion project

Getting started

  1. Follow the workspace preparation guide
  2. In your terminal, run
make init
make serve # Start the react-native development server

# In another terminal
make install-android # Install the development app on your connected android device

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.