From 9b136006a01c84a67fd5c280dd3dab9f4a930a04 Mon Sep 17 00:00:00 2001 From: ppc Date: Thu, 21 Nov 2024 22:50:22 +0000 Subject: [PATCH] add build-properties plugin --- amnet-native/app.json | 14 +++++++++++--- amnet-native/package-lock.json | 14 ++++++++++++++ amnet-native/package.json | 1 + 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/amnet-native/app.json b/amnet-native/app.json index 3a0f13d..8a1c884 100644 --- a/amnet-native/app.json +++ b/amnet-native/app.json @@ -33,8 +33,7 @@ "backgroundColor": "#3B5ACC" } }, - "intentFilters": - [ + "intentFilters": [ { "autoVerify": true, "action": "VIEW", @@ -67,5 +66,14 @@ } ] }, - "plugins": [] + "plugins": [ + [ + "expo-build-properties", + { + "android": { + "usesCleartextTraffic": true + } + } + ] + ] } diff --git a/amnet-native/package-lock.json b/amnet-native/package-lock.json index 2ab5ccf..63fe19e 100644 --- a/amnet-native/package-lock.json +++ b/amnet-native/package-lock.json @@ -19,6 +19,7 @@ "date-fns": "^3.6.0", "expo": "^51.0.38", "expo-blur": "~13.0.2", + "expo-build-properties": "~0.12.5", "expo-clipboard": "~6.0.3", "expo-constants": "~16.0.2", "expo-dev-client": "~4.0.29", @@ -6433,6 +6434,19 @@ "expo": "*" } }, + "node_modules/expo-build-properties": { + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/expo-build-properties/-/expo-build-properties-0.12.5.tgz", + "integrity": "sha512-donC1le0PYfLKCPKRMGQoixuWuwDWCngzXSoQXUPsgHTDHQUKr8aw+lcWkTwZcItgNovcnk784I0dyfYDcxybA==", + "license": "MIT", + "dependencies": { + "ajv": "^8.11.0", + "semver": "^7.6.0" + }, + "peerDependencies": { + "expo": "*" + } + }, "node_modules/expo-clipboard": { "version": "6.0.3", "license": "MIT", diff --git a/amnet-native/package.json b/amnet-native/package.json index ba2bf55..7fbd733 100644 --- a/amnet-native/package.json +++ b/amnet-native/package.json @@ -19,6 +19,7 @@ "date-fns": "^3.6.0", "expo": "^51.0.38", "expo-blur": "~13.0.2", + "expo-build-properties": "~0.12.5", "expo-clipboard": "~6.0.3", "expo-constants": "~16.0.2", "expo-dev-client": "~4.0.29",