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.
Pyxis/fieldnotes/pipeline/head This commit is unstable
Details
|
9 months ago | |
---|---|---|
.chglog | 4 years ago | |
android | 9 months ago | |
bridge/reachview | 3 years ago | |
containers/ci | 9 months ago | |
doc | 5 years ago | |
misc | 4 years ago | |
src | 9 months ago | |
.babelrc | 3 years ago | |
.buckconfig | 5 years ago | |
.editorconfig | 3 years ago | |
.env.dist | 2 years ago | |
.flowconfig | 3 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 3 years ago | |
.nvmrc | 9 months ago | |
.watchmanconfig | 5 years ago | |
CHANGELOG.md | 4 years ago | |
Jenkinsfile | 1 year ago | |
Makefile | 2 years ago | |
README.md | 1 year ago | |
app.json | 5 years ago | |
index.js | 2 years ago | |
metro.config.js | 2 years ago | |
package-lock.json | 9 months ago | |
package.json | 9 months ago | |
tsconfig.json | 2 years ago |
README.md
Field Notes
Companion app for the Orion project
Getting started
- Follow the workspace preparation guide
- 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
- Create your
keystore
keytool -genkey -v \ -keystore 'my-release-key.keystore' \ -alias 'my-key-alias' \ -keyalg RSA \ -keysize 2048 \ -validity 10000
- Put your
keystore
intoandroid/app
- 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=*****
- 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.