Repository navigation
feat: Add Empower web store WebView tab with connected traces - #150
Conversation
Loads the Empower Plant React app in a react-native-webview and injects the current trace via sentryWebViewProps, so the web pageload and its backend calls continue the React Native trace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This looks great! Thanks so much. Approved. One note: |
Thank you for reviewing @nw-sentry 🙇 |
Thank you for approving both PRs @nw-sentry 🙇 As discussed with @thinkocapo I'll leave the final decision on shipping the changes to the demo maintainers. If you decide to proceed with this I'll also be happy to update https://github.com/sentry-demos/android and https://github.com/sentry-demos/ios |
Summary
Adds a fourth bottom tab (globe icon) that loads the Empower Plant React web store (
https://empower-plant.com/products) in areact-native-webview. It demos the RN SDK's WebView trace propagation (getsentry/sentry-react-native#6794, shipped in 8.32.0): one trace runs from the mobile app through the web page to the backend.TDA
bottom-tab-cart, etc.) are unchanged.bottom-tab-webview, but like the Cart icon it isn't found by Maestro on iOS. AddtabBarButtonTestIDif a TDA test should drive this tab.Testing
Screenshot
Trace
Sentry link