sentry-cocoa
sentry-cocoa copied to clipboard
Sync User and Session data between Android/iOS SDKs and WebSDK
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
Thanks for the suggestion @JohannesPtaszyk, we will investigate the possibility to have this feature.
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.