From 88342826ff235979c84f253b8e571908d89a58ea Mon Sep 17 00:00:00 2001 From: Siderakis Date: Sat, 17 Jun 2023 10:38:52 -0400 Subject: [PATCH] Making async storage not required. Currently there is no way to avoid downloading async storage. Even when we supply our own alternative storage provider. This is causing errors. https://github.com/ds300/patch-package/issues/49 --- packages/analytics-react-native/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/analytics-react-native/package.json b/packages/analytics-react-native/package.json index fabdb913f..b11cd8c9b 100644 --- a/packages/analytics-react-native/package.json +++ b/packages/analytics-react-native/package.json @@ -62,7 +62,6 @@ "@amplitude/analytics-core": "^2.0.0-beta.0", "@amplitude/analytics-types": "^2.0.0-beta.0", "@amplitude/ua-parser-js": "^0.7.31", - "@react-native-async-storage/async-storage": "^1.17.11", "tslib": "^2.4.1" }, "devDependencies": { @@ -75,7 +74,8 @@ }, "peerDependencies": { "react": "*", - "react-native": "*" + "react-native": "*", + "@react-native-async-storage/async-storage": "^1.17.11" }, "react-native-builder-bob": { "source": "src",