gigafibre-fsm/apps/field-tech/package.json
louispaulb aa108ab13f feat(field-tech): app Capacitor native (geofence Transistorsoft + scan MLKit) + CI
App technicien : appairage 1x (QR), géorepérage natif en arrière-plan (app fermée)
-> checkpoints au hub /field/ts, scan série/MAC on-device MLKit. UI réutilisée depuis
le hub (/field). APK Android buildé (debug, 19 Mo, arm64-v8a + armeabi-v7a).

- apps/field-tech : Capacitor 6 + Vite ; src/main.js (appairage @capacitor/preferences
  + BackgroundGeolocation.addGeofences + redirection /field) ; projet android/ avec les
  4 correctifs Gradle commités (force work-runtime 2.9.1, minSdk 24, repos maven xms.g
  + Huawei, googlePlayServicesLocationVersion 21.0.1) ; abiFilters arm (APK 32->19 Mo).
- README : recette de build complète (toolchain M4, les 4 fixes, install/appairage) ;
  BUILD-ANDROID.md (Docker + Android Studio + release signée) ; CI-SETUP.md (runner Gitea).
- CI Gitea Actions (.gitea/workflows) : android (runner Linux HORS prod, cache Gradle/npm
  -> artefact APK) + ios (runner macOS, workflow_dispatch, en attente compte Apple).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 19:47:27 -04:00

28 lines
928 B
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "targo-field-tech",
"version": "0.1.0",
"private": true,
"description": "App technicien TARGO/Gigafibre — appairage 1× (QR), géorepérage natif arrière-plan (Transistorsoft) → checkpoints, scan MLKit. UI réutilisée depuis le hub (/field). Voir BUILD-ANDROID.md.",
"scripts": {
"build": "vite build",
"sync": "vite build && cap sync",
"android": "vite build && cap sync android && cap open android",
"add:android": "cap add android",
"add:ios": "cap add ios"
},
"dependencies": {
"@capacitor/core": "^6",
"@capacitor/app": "^6",
"@capacitor/preferences": "^6",
"@capacitor-mlkit/barcode-scanning": "^6",
"@transistorsoft/capacitor-background-geolocation": "^6",
"@transistorsoft/capacitor-background-fetch": "^6"
},
"devDependencies": {
"@capacitor/cli": "^6",
"@capacitor/android": "^6",
"@capacitor/ios": "^6",
"vite": "^5"
}
}