diff --git a/App.tsx b/App.tsx index 7dd11e5e..33613bb7 100644 --- a/App.tsx +++ b/App.tsx @@ -1,5 +1,6 @@ import './gesture-handler'; import React from 'react'; +import "react-native-url-polyfill/auto"; import defaultConfig from '@tamagui/config/v3' import Jellify from './components/jellify'; diff --git a/package-lock.json b/package-lock.json index 579da536..5710485e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,7 @@ "react-native-safe-area-context": "^4.11.0", "react-native-screens": "^3.34.0", "react-native-track-player": "^4.1.1", + "react-native-url-polyfill": "^2.0.0", "react-native-vector-icons": "^10.1.0", "tamagui": "^1.115.0" }, @@ -14652,7 +14653,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -14968,6 +14968,18 @@ } } }, + "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.2.0", "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-10.2.0.tgz", @@ -16943,6 +16955,29 @@ "webidl-conversions": "^3.0.0" } }, + "node_modules/whatwg-url-without-unicode": { + "version": "8.0.0-3", + "resolved": "https://registry.npmjs.org/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz", + "integrity": "sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==", + "license": "MIT", + "dependencies": { + "buffer": "^5.4.3", + "punycode": "^2.1.1", + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/whatwg-url-without-unicode/node_modules/webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=8" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 2f721395..f5827f58 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "react-native-safe-area-context": "^4.11.0", "react-native-screens": "^3.34.0", "react-native-track-player": "^4.1.1", + "react-native-url-polyfill": "^2.0.0", "react-native-vector-icons": "^10.1.0", "tamagui": "^1.115.0" },