You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
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
9 months ago
.chglog Project: Add changelog generation task in Makefile 4 years ago
android chore: update android build recipe 9 months ago
bridge/reachview fix: prevent connection disruption with ping interval 3 years ago
containers/ci chore: update android build recipe 9 months ago
doc Generate ReachView lib bindings with gomobile 5 years ago
misc Use version build in version name and version code 4 years ago
src feat: close rect geometry in csv export to match behavior of orion suite 9 months ago
.babelrc chore: strip console.* calls in production build 3 years ago
.buckconfig Initial commit 5 years ago
.editorconfig Chore: Add Typescript configuration 3 years ago
.env.dist chore: better sentry integration 2 years ago
.flowconfig Chore: Upgrade to React Native 0.63.3 3 years ago
.gitattributes Initial commit 5 years ago
.gitignore fix: https api fetch (take two) 3 years ago
.nvmrc chore: add nvmrc 9 months ago
.watchmanconfig Initial commit 5 years ago
CHANGELOG.md Update changelog 4 years ago
Jenkinsfile chore(ci): remove jenkins required node label 1 year ago
Makefile chore: use localhost:8000 as default orion server 2 years ago
README.md chore: update readme 1 year ago
app.json Initial commit 5 years ago
index.js chore: better sentry integration 2 years ago
metro.config.js fix: release build 2 years ago
package-lock.json chore: update dep react-native-blob-courier 9 months ago
package.json chore: update dep react-native-blob-courier 9 months ago
tsconfig.json feat: per construction site nomenclature synchronization 2 years 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.