sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

Add tunnel support for react native

Open serglom21 opened this issue 2 years ago • 9 comments

Currently, the tunnel config option does not work as it does for the browser SDK, even tho is advertised in our react native docs.

Could we enable this functionality on react native?

┆Issue is synchronized with this Jira Improvement by Unito

serglom21 avatar Aug 28 '23 14:08 serglom21

FYI - Discord is really interested in this feature - from the docs we expected this to work already.

thenickreynolds avatar Sep 08 '23 22:09 thenickreynolds

@thenickreynolds Hi, thank you for the information, this is not implemented in RN yet.

The appearance in the docs was a bug. This is supported in the browser SDK at the moment.

krystofwoldrich avatar Sep 11 '23 09:09 krystofwoldrich

This has to be first implemented in the native SDKs, so RN use the tunnel.

krystofwoldrich avatar Sep 22 '23 12:09 krystofwoldrich

Would really appreciate this feature on the Native SDKs

emilfjellstrom avatar Apr 23 '24 10:04 emilfjellstrom

@emilfjellstrom Thank you for letting us know, could you share some details about your use case? Maybe we can help you with a workaround.

krystofwoldrich avatar Apr 24 '24 15:04 krystofwoldrich

@krystofwoldrich I have seen some cases where the Sentry endpoint would be cancelled due to VPNs blocking tracking-related domains. I tried to setup my own proxy for the DSN uri but after doing so I saw no events logged in Sentry UI.

I use both the iOS, Android and React Native SDKs

I might have messed something up and will try and debug the proxy solution a bit further

emilfjellstrom avatar Apr 25 '24 09:04 emilfjellstrom