diff --git a/amnet-native/index.js b/amnet-native/index.js index f2f4584..a399e8a 100644 --- a/amnet-native/index.js +++ b/amnet-native/index.js @@ -1,5 +1,6 @@ import 'expo-dev-client'; import 'react-native-get-random-values'; +import 'react-native-url-polyfill/auto'; import {registerRootComponent} from "expo"; diff --git a/amnet-native/package-lock.json b/amnet-native/package-lock.json index 39a8e4e..5ad7257 100644 --- a/amnet-native/package-lock.json +++ b/amnet-native/package-lock.json @@ -33,6 +33,7 @@ "react-native-safe-area-context": "4.10.5", "react-native-screens": "3.31.1", "react-native-svg": "^15.5.0", + "react-native-url-polyfill": "^2.0.0", "realm": "^12.12.1", "typescript": "~5.3.3" } @@ -11959,6 +11960,18 @@ "react-native": "*" } }, + "node_modules/react-native-url-polyfill": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz", + "integrity": "sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA==", + "license": "MIT", + "dependencies": { + "whatwg-url-without-unicode": "8.0.0-3" + }, + "peerDependencies": { + "react-native": "*" + } + }, "node_modules/react-native-vector-icons": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-10.1.0.tgz", diff --git a/amnet-native/package.json b/amnet-native/package.json index 5cce763..1b927f4 100644 --- a/amnet-native/package.json +++ b/amnet-native/package.json @@ -33,6 +33,7 @@ "react-native-safe-area-context": "4.10.5", "react-native-screens": "3.31.1", "react-native-svg": "^15.5.0", + "react-native-url-polyfill": "^2.0.0", "realm": "^12.12.1", "typescript": "~5.3.3" }