browser-polyfill
browser-polyfill copied to clipboard
importing '@expo/browser-polyfill' gives NotSupportedError: Cannot set "location".
When importing this package I get this error: NotSupportedError: Cannot set "location".
I originally thought it was an issue with expo-three but narrowed it down to this package instead.
Expo managed project, SDK "~48.0.18", building for iOS.
for some reason
throw new DOMException("Cannot set "location".", "NotSupportedError");
in @expo/metro-runtime/build/location/Location.native.js
is being triggered just by importing this package?
See https://github.com/expo/router/issues/528