-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
getFullURL
throwing exceptions on React Native
#4436
Labels
Comments
Hi @AdamTyler, We should check this field before accessing it. Just to confirm, this causes issues only when debugging the application with |
We decided not to update the code, since from our testing, the issue only occurs during debugging with |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
constant exceptions (for every api call, even localhost) in the
getFullURL
function sincehelpers.WINDOW.location
is undefined.What React Native libraries do you use?
Expo (mobile only), Expo Router, Expo Application Services (EAS)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.5.0
How does your development environment look like?
Sentry.init()
Steps to Reproduce
Use latest expo to create RN app
Add Sentry 6.5.0
Start up either iOS or Android app locally
Expected Result
App to behave normally and only send exceptions if they come up from the code
Actual Result
constant exceptions in the
getFullURL
function sincehelpers.WINDOW.location
is undefined.Assuming its because this is executing in the browsers package in sentry and in RN there is no
window.location
The text was updated successfully, but these errors were encountered: