Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.
Thanks to @anirudhsama and @maximgeerinck for the original workaround.
Checklist
Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests. closes: https://github.com/expo/sentry-expo/issues/342
How
How did you build this feature or fix this bug and why?
This is already fixed in
sentry-react-native
. But until released and upgraded here, this PR will work for all the versions. https://github.com/getsentry/sentry-react-native/pull/3092Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.
Sample app and other users from https://github.com/expo/sentry-expo/issues/342