expo / expo/browser-polyfill

importing '@expo/browser-polyfill' gives NotSupportedError: Cannot set "location".

Open
#79 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
69
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.