From 5341649abe580644a14f92b3d638dc929628a30d Mon Sep 17 00:00:00 2001 From: orfelorfel23 Date: Mon, 25 May 2026 17:39:28 +0200 Subject: [PATCH] Fix dependency peer warnings and align package versions for Expo Doctor compatibility --- app.json | 15 +++++++++++++-- eas.json | 21 +++++++++++++++++++++ package-lock.json | 21 +++++++-------------- package.json | 3 ++- 4 files changed, 43 insertions(+), 17 deletions(-) create mode 100644 eas.json diff --git a/app.json b/app.json index 83555bd3..516ec7fd 100644 --- a/app.json +++ b/app.json @@ -20,7 +20,13 @@ "android.permission.CAMERA", "android.permission.RECORD_AUDIO", "android.permission.INTERNET", - "android.permission.ACCESS_NETWORK_STATE" + "android.permission.ACCESS_NETWORK_STATE", + "android.permission.READ_EXTERNAL_STORAGE", + "android.permission.WRITE_EXTERNAL_STORAGE", + "android.permission.READ_MEDIA_VISUAL_USER_SELECTED", + "android.permission.READ_MEDIA_IMAGES", + "android.permission.READ_MEDIA_VIDEO", + "android.permission.READ_MEDIA_AUDIO" ] }, "plugins": [ @@ -49,6 +55,11 @@ ], "./plugins/withKioskAdmin", "./plugins/withUsbCamera" - ] + ], + "extra": { + "eas": { + "projectId": "f91d18df-f545-4e0c-a7c7-3f87abbb4b1a" + } + } } } diff --git a/eas.json b/eas.json new file mode 100644 index 00000000..2502ff61 --- /dev/null +++ b/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 19.1.0", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/package-lock.json b/package-lock.json index 9e70a008..308105ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,8 @@ "react": "19.2.3", "react-native": "0.85.3", "react-native-reanimated": "4.3.1", - "react-native-view-shot": "^5.1.0" + "react-native-view-shot": "4.0.3", + "react-native-worklets": "0.8.3" }, "devDependencies": { "@types/react": "~19.2.2", @@ -550,7 +551,6 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.29.7.tgz", "integrity": "sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ==", "license": "MIT", - "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, @@ -1032,7 +1032,6 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.29.7.tgz", "integrity": "sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg==", "license": "MIT", - "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, @@ -1048,7 +1047,6 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.29.7.tgz", "integrity": "sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA==", "license": "MIT", - "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, @@ -5496,20 +5494,16 @@ } }, "node_modules/react-native-view-shot": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/react-native-view-shot/-/react-native-view-shot-5.1.0.tgz", - "integrity": "sha512-JZgElCD82aO+hejIF/leUzI7JufL9mgJ6ChzGWIcdZ2ajpaEvvSnvIcw0qD32XWkrbId8wfSbyz/4u/ulTQzQA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/react-native-view-shot/-/react-native-view-shot-4.0.3.tgz", + "integrity": "sha512-USNjYmED7C0me02c1DxKA0074Hw+y/nxo+xJKlffMvfUWWzL5ELh/TJA/pTnVqFurIrzthZDPtDM7aBFJuhrHQ==", "license": "MIT", "dependencies": { "html2canvas": "^1.4.1" }, - "engines": { - "node": ">=20", - "npm": ">=10" - }, "peerDependencies": { - "react": ">=18.0.0", - "react-native": ">=0.76.0" + "react": "*", + "react-native": "*" } }, "node_modules/react-native-worklets": { @@ -5517,7 +5511,6 @@ "resolved": "https://registry.npmjs.org/react-native-worklets/-/react-native-worklets-0.8.3.tgz", "integrity": "sha512-oCBJROyLU7yG/1R8s0INMflygTH71bx+5XcYkH0CM938TlhSoVbiunE1WVW5FZa51vwYqfLie/IXMX2s1Kh3eg==", "license": "MIT", - "peer": true, "dependencies": { "@babel/plugin-transform-arrow-functions": "^7.27.1", "@babel/plugin-transform-class-properties": "^7.27.1", diff --git a/package.json b/package.json index 22f614a5..15f20cc0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "react": "19.2.3", "react-native": "0.85.3", "react-native-reanimated": "4.3.1", - "react-native-view-shot": "^5.1.0" + "react-native-view-shot": "4.0.3", + "react-native-worklets": "0.8.3" }, "devDependencies": { "@types/react": "~19.2.2",