diff --git a/ROADMAP.md b/ROADMAP.md index c2619ccd..79107f7c 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -139,9 +139,12 @@ physical-device checks. - Complete the backend processing-status contract before implementing its mobile UI. - Expand Marketplace tests and staging evidence. -- F-Droid/Meta-free distribution is a later direction, not a current release - decision. [#72](https://github.com/mapilio/mobile-apps/issues/72) is closed as - not planned for this release; revisit native SDK exclusion when that work starts. +- [#72](https://github.com/mapilio/mobile-apps/issues/72#issuecomment-5935466039) + is reopened for F-Droid/Meta-free distribution. The first scoped slice disables + unused Android barcode-scanner runtime dependencies for photo capture. A full + F-Droid build still needs the remaining native SDK exclusions, Google-free + location, artwork redistribution permission and no-Play device validation; + this slice does not make it ready for release. - Panorama, drone integration, Marketplace, refreshed interfaces and scoring remain future product work, separate from the current store-release scope. diff --git a/android/gradle.properties b/android/gradle.properties index 8a6c679e..0ca06cc2 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -57,3 +57,8 @@ EX_DEV_CLIENT_NETWORK_INSPECTOR=true # Use legacy packaging to compress native libraries in the resulting APK. expo.useLegacyPackaging=false + +# Mapilio captures photos and does not use barcode scanning. +# Keep this in sync with the expo-camera plugin in app.config.js. +# package.json builds expo-camera from source so this flag takes effect. +expo.camera.barcode-scanner-enabled=false diff --git a/app.config.js b/app.config.js index a3f0e6ec..d6d2bddf 100644 --- a/app.config.js +++ b/app.config.js @@ -89,6 +89,7 @@ module.exports = { cameraPermission: 'Allow $(PRODUCT_NAME) to access your camera', microphonePermission: 'Allow $(PRODUCT_NAME) to access your microphone', recordAudioAndroid: false, + barcodeScannerEnabled: false, }, ], ['@maplibre/maplibre-react-native'], diff --git a/package.json b/package.json index bde28452..52a22c93 100644 --- a/package.json +++ b/package.json @@ -162,5 +162,14 @@ } } }, + "expo": { + "autolinking": { + "android": { + "buildFromSource": [ + "expo-camera" + ] + } + } + }, "private": true }