sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Sync User and Session data between Android/iOS SDKs and WebSDK

Open JohannesPtaszyk opened this issue 2 years ago • 2 comments

Problem Statement

In our apps we are using WebViews to provide some features dynamically. As we are using Sentry in Web and App, we would love to be able to sync the user and session data between the Web and Native SDKs.

Related Android SDK issue: https://github.com/getsentry/sentry-java/issues/2934

Solution Brainstorm

It would be awesome if Sentry would provide some kind of JS bridge or other way of syncing the data between the SDKs in WebViews.

Are you willing to submit a PR?

No response

JohannesPtaszyk avatar Sep 13 '23 07:09 JohannesPtaszyk

Thanks for the suggestion @JohannesPtaszyk, we will investigate the possibility to have this feature.

brustolin avatar Sep 20 '23 06:09 brustolin

We at Tapcart are also interested in a feature along these lines. Our scenario is:

  • We white label our app for multiple merchants
  • Those merchants can load custom content in Webviews via their own URLs
  • We would like a way to know when a specific URL + native screen (that contains a Webview) combination is exhibiting performance issues or causing errors. So, ideally, this would link native iOS SDK events with the Sentry JS SDK events if the Sentry JS SDK were present in the Javascript of the Webview.

micahnance avatar May 08 '24 16:05 micahnance