diff --git a/client/app.json b/client/app.json index d6c4b29..6acf011 100644 --- a/client/app.json +++ b/client/app.json @@ -16,7 +16,23 @@ "foregroundImage": "./assets/images/adaptive-icon.png", "backgroundColor": "#ffffff" }, - "package": "eu.luemy.traintrapemoi" + "package": "eu.luemy.traintrapemoi", + "permissions": [ + "android.permission.ACCESS_COARSE_LOCATION", + "android.permission.ACCESS_FINE_LOCATION", + "android.permission.ACCESS_BACKGROUND_LOCATION", + "android.permission.FOREGROUND_SERVICE", + "android.permission.FOREGROUND_SERVICE_LOCATION", + "android.permission.RECEIVE_BOOT_COMPLETED", + "android.permission.WAKE_LOCK", + "android.permission.ACCESS_COARSE_LOCATION", + "android.permission.ACCESS_FINE_LOCATION", + "android.permission.ACCESS_BACKGROUND_LOCATION", + "android.permission.FOREGROUND_SERVICE", + "android.permission.FOREGROUND_SERVICE_LOCATION", + "android.permission.RECEIVE_BOOT_COMPLETED", + "android.permission.WAKE_LOCK" + ] }, "web": { "bundler": "metro", @@ -57,6 +73,12 @@ "eas": { "projectId": "1898a5de-1db1-41f7-b883-1b02885f750a" } + }, + "runtimeVersion": { + "policy": "appVersion" + }, + "updates": { + "url": "https://u.expo.dev/1898a5de-1db1-41f7-b883-1b02885f750a" } } } diff --git a/client/eas.json b/client/eas.json index 5da8fba..3335c41 100644 --- a/client/eas.json +++ b/client/eas.json @@ -6,13 +6,16 @@ "build": { "development": { "developmentClient": true, - "distribution": "internal" + "distribution": "internal", + "channel": "development" }, "preview": { - "distribution": "internal" + "distribution": "internal", + "channel": "preview" }, "production": { - "autoIncrement": true + "autoIncrement": true, + "channel": "production" } }, "submit": { diff --git a/client/package-lock.json b/client/package-lock.json index c63e9c0..005161b 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -31,6 +31,7 @@ "expo-symbols": "~0.2.0", "expo-system-ui": "~4.0.4", "expo-task-manager": "^12.0.3", + "expo-updates": "~0.26.10", "expo-web-browser": "~14.0.1", "maplibre-gl": "^4.7.1", "maplibre-react-components": "^0.1.9", @@ -7671,6 +7672,12 @@ "expo": "*" } }, + "node_modules/expo-eas-client": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/expo-eas-client/-/expo-eas-client-0.13.1.tgz", + "integrity": "sha512-IyeDiM6YSJG0c45kbuEo0qt76z0KTEZtisEFEtle+b+vfn9I3N+r3jbPscaI4yS3P6gpuoDyHv81YDVC6Dmkhw==", + "license": "MIT" + }, "node_modules/expo-file-system": { "version": "18.0.4", "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-18.0.4.tgz", @@ -7906,6 +7913,12 @@ "react-native": "*" } }, + "node_modules/expo-structured-headers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/expo-structured-headers/-/expo-structured-headers-4.0.0.tgz", + "integrity": "sha512-uPiwZjWq3AdFGgY52+I2nGPrNa6izxAglymPXHUZLekZW290GqIUOk7MBNDD4sg4JwUbSi3gdxEurpEvuq+FSg==", + "license": "MIT" + }, "node_modules/expo-symbols": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/expo-symbols/-/expo-symbols-0.2.0.tgz", @@ -7951,6 +7964,35 @@ "react-native": "*" } }, + "node_modules/expo-updates": { + "version": "0.26.10", + "resolved": "https://registry.npmjs.org/expo-updates/-/expo-updates-0.26.10.tgz", + "integrity": "sha512-ETGUaSZRL7x72RH6MbZWRpyU9GFzCixIPNUT0kf/hcD07ojyHlW5hcwgc5ve565THSvhgiumz3yImKLbKBv2JA==", + "license": "MIT", + "dependencies": { + "@expo/code-signing-certificates": "0.0.5", + "@expo/config": "~10.0.4", + "@expo/config-plugins": "~9.0.10", + "@expo/spawn-async": "^1.7.2", + "arg": "4.1.0", + "chalk": "^4.1.2", + "expo-eas-client": "~0.13.0", + "expo-manifests": "~0.15.0", + "expo-structured-headers": "~4.0.0", + "expo-updates-interface": "~1.0.0", + "fast-glob": "^3.3.2", + "fbemitter": "^3.0.0", + "ignore": "^5.3.1", + "resolve-from": "^5.0.0" + }, + "bin": { + "expo-updates": "bin/cli.js" + }, + "peerDependencies": { + "expo": "*", + "react": "*" + } + }, "node_modules/expo-updates-interface": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/expo-updates-interface/-/expo-updates-interface-1.0.0.tgz", @@ -7960,6 +8002,12 @@ "expo": "*" } }, + "node_modules/expo-updates/node_modules/arg": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.0.tgz", + "integrity": "sha512-ZWc51jO3qegGkVh8Hwpv636EkbesNV5ZNQPCtRa+0qytRYPEs9IYT9qITY9buezqUH5uqyzlWLcufrzU2rffdg==", + "license": "MIT" + }, "node_modules/expo-web-browser": { "version": "14.0.1", "resolved": "https://registry.npmjs.org/expo-web-browser/-/expo-web-browser-14.0.1.tgz", diff --git a/client/package.json b/client/package.json index 198feeb..2cf3009 100644 --- a/client/package.json +++ b/client/package.json @@ -51,7 +51,8 @@ "react-native-screens": "~4.1.0", "react-native-web": "~0.19.13", "react-native-webview": "13.12.2", - "react-redux": "^9.1.2" + "react-redux": "^9.1.2", + "expo-updates": "~0.26.10" }, "devDependencies": { "@babel/core": "^7.25.2",