Go to file
wpetit 4d192c4299
Pyxis/fieldnotes/pipeline/head This commit is unstable Details
feat: close rect geometry in csv export to match behavior of orion suite
2023-03-07 11:27:59 +01:00
.chglog Project: Add changelog generation task in Makefile 2019-07-04 09:19:18 +02:00
android chore: update android build recipe 2023-03-06 15:27:47 +01:00
bridge/reachview fix: prevent connection disruption with ping interval 2021-01-08 12:21:02 +01:00
containers/ci chore: update android build recipe 2023-03-06 15:27:47 +01:00
doc Generate ReachView lib bindings with gomobile 2018-10-01 09:28:25 +02:00
misc Use version build in version name and version code 2019-07-04 02:32:37 +02:00
src feat: close rect geometry in csv export to match behavior of orion suite 2023-03-07 11:27:59 +01:00
.babelrc chore: strip console.* calls in production build 2020-12-11 12:53:18 +01:00
.buckconfig Initial commit 2018-09-28 11:02:04 +02:00
.editorconfig Chore: Add Typescript configuration 2020-11-27 17:25:22 +01:00
.env.dist chore: better sentry integration 2021-09-01 15:52:08 +02:00
.flowconfig Chore: Upgrade to React Native 0.63.3 2020-11-26 10:01:32 +01:00
.gitattributes Initial commit 2018-09-28 11:02:04 +02:00
.gitignore fix: https api fetch (take two) 2021-03-31 19:44:49 +02:00
.nvmrc chore: add nvmrc 2023-03-06 15:26:52 +01:00
.watchmanconfig Initial commit 2018-09-28 11:02:04 +02:00
CHANGELOG.md Update changelog 2019-08-18 22:05:42 +02:00
Jenkinsfile chore(ci): remove jenkins required node label 2022-07-28 13:29:20 +02:00
Makefile chore: use localhost:8000 as default orion server 2021-09-01 14:32:46 +02:00
README.md chore: update readme 2022-07-28 12:59:57 +02:00
app.json Initial commit 2018-09-28 11:02:04 +02:00
index.js chore: better sentry integration 2021-09-01 15:52:08 +02:00
metro.config.js fix: release build 2021-07-21 15:13:57 +02:00
package-lock.json chore: update dep react-native-blob-courier 2023-03-06 15:27:18 +01:00
package.json chore: update dep react-native-blob-courier 2023-03-06 15:27:18 +01:00
tsconfig.json feat: per construction site nomenclature synchronization 2021-08-03 10:41:27 +02:00

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.