Connect app traces with web content in a WebView
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- csharp
- Domain
- backend-api-design, mobile
Research direction
Read the Apple and Android WebView tracing docs linked in the issue, then review the Cocoa bindings and the option dropped in #5949. Compare the platform APIs and the MAUI WebView and BlazorWebView use cases, including the context in #1954. Done means agreeing on the .NET API and shared behavior before implementing trace continuation into JavaScript pages.
Written by the indexing model from the issue text.
Description
Cocoa 9.33.0 and Android 8.64.0 can pass the app's current trace into a web view, so the JavaScript SDK in the page continues it. The Apple and Android docs show how. Cocoa 9.35.0 adds options.webViewTracing to do this for every WKWebView, and React Native has sentryWebViewProps. .NET doesn't expose it on either platform. Our Cocoa bindings leave out SentryObjCWebViewTracing, and #5949 has to drop the new option because we don't bind its options type.
Some questions to discuss when we pick this up:
- Which .NET apps would use this? MAUI's
WebViewandBlazorWebViewboth use the native web views. In a Blazor Hybrid app the components run in .NET, so the trace only helps if the page also runs the JavaScript SDK. #1954 has more on Blazor Hybrid. - Should .NET expose each platform's API through the native options, or one MAUI API for both? Cocoa's option covers every
WKWebViewon its own, while Android still needs a call perWebView. - The Cocoa, Android and React Native SDKs added this together. Should .NET join that effort, and is there a shared spec we should match?
- Dominant language
- C#
- Stars
- 775
- Forks
- 262
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 118
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-dotnet
-
chore: remove stale IL3050/IL3053 workaround from the iOS samplePossibly taken A pull request linked to this issue is open or already merged. OpenState: Needs Discussion
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
getsentry/sentry-dotnet#6071 · 1 comment ·
Maintainers usually reply within 1 day
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Possibly taken @pcbeingused33 claimed this today. OpenState: Needs Discussion
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
getsentry/sentry-dotnet#6039 · 3 comments ·
Maintainers usually reply within 1 day
-
.NET Platform: Android Task
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getsentry/sentry-dotnet#6020 · 3 comments ·
Maintainers usually reply within 1 day
-
Move the Blazor WebAssembly sample off the deprecated DevServerPossibly taken A pull request linked to this issue is open or already merged. Open.NET Framework: Blazor
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
getsentry/sentry-dotnet#5906 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Docs MSBuild Needs Docs Update
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-dotnet#5691 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/sentry-dotnet
Similar issues
-
In-car displays show 0 km/h and P while the AV drivesPossibly taken @bazilinskyy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
bazilinskyy/coupled-sim#366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BaryoDev/umbraco-pwa#196 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
microsoft/fluentui-blazor#5688 ·
Maintainers usually reply within 1 day
-
bug flaky lsp-transport small
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day