- Add VinEye/.npmrc with node-linker=hoisted to avoid Windows MAX_PATH crashes with .pnpm/<hash>/ deep paths during native compilation - Replace react-native-maps (Google Maps SDK requires API key) with react-native-webview (renders Leaflet + OSM tiles, no key needed) - Add expo-location for GPS capture during scans - Add expo-dev-client for proper HMR + deep-link launch in dev builds - Configure expo-location plugin in app.json with FR permission strings Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"expo": {
|
|
"name": "VinEye",
|
|
"slug": "vineye",
|
|
"version": "1.0.0",
|
|
"scheme": "vineye",
|
|
"orientation": "portrait",
|
|
"icon": "./src/assets/images/icon.png",
|
|
"userInterfaceStyle": "light",
|
|
"newArchEnabled": true,
|
|
"splash": {
|
|
"image": "./src/assets/images/splash.png",
|
|
"resizeMode": "contain",
|
|
"backgroundColor": "#2D6A4F"
|
|
},
|
|
"ios": {
|
|
"supportsTablet": true,
|
|
"bundleIdentifier": "com.vineye.app",
|
|
"infoPlist": {
|
|
"NSCameraUsageDescription": "VinEye needs camera access to detect grapevine diseases.",
|
|
"NSPhotoLibraryUsageDescription": "VinEye needs access to your photo library to import vine images."
|
|
}
|
|
},
|
|
"android": {
|
|
"adaptiveIcon": {
|
|
"foregroundImage": "./src/assets/images/adaptive-icon.png",
|
|
"backgroundColor": "#2D6A4F"
|
|
},
|
|
"package": "com.vineye.app",
|
|
"permissions": [
|
|
"android.permission.CAMERA",
|
|
"android.permission.INTERNET",
|
|
"android.permission.ACCESS_NETWORK_STATE",
|
|
"android.permission.READ_EXTERNAL_STORAGE",
|
|
"android.permission.WRITE_EXTERNAL_STORAGE"
|
|
]
|
|
},
|
|
"web": {
|
|
"favicon": "./src/assets/images/icon.png"
|
|
},
|
|
"plugins": [
|
|
"expo-localization",
|
|
[
|
|
"expo-camera",
|
|
{
|
|
"cameraPermission": "VinEye needs camera access to detect grapevines.",
|
|
"microphonePermission": false,
|
|
"recordAudioAndroid": false
|
|
}
|
|
],
|
|
[
|
|
"expo-location",
|
|
{
|
|
"locationAlwaysAndWhenInUsePermission": "VinEye souhaite accéder à votre position pour géolocaliser vos scans sur la carte.",
|
|
"locationWhenInUsePermission": "VinEye souhaite accéder à votre position pour géolocaliser vos scans sur la carte.",
|
|
"isAndroidBackgroundLocationEnabled": false,
|
|
"isIosBackgroundLocationEnabled": false
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|