docs: Update Android WebView guidance for connected traces
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 半天
- 新手友好度
- 76/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- android, javascript
研究方向
先閱讀 docs.sentry.io/platforms/android/configuration/webview/ 上目前的 Android WebView 頁面,並比較相關的 Apple 與 React Native WebView 指南。更新頁面,使其涵蓋透過 evaluateJavascript 在文件開始時注入 meta tag、將 host 加入 allow-list、@sentry/browser 要求,以及 entry-pageload 限制。完成的標準是指南符合 distributed tracing 延續契約,並且在各平台之間保持一致。
由索引模型根據 Issue 內容生成。
描述
Outcome
Replace the current Android WebView guidance — which states the SDK "doesn't interact with the mobile application's web views" — with setup for the new trace-connection support.
Acceptance criteria
- Documents how to inject the native trace context into a WebView (meta tags at document-start via
evaluateJavascript), the host allow-list option, the requirement that the in-WebView page run@sentry/browser, and the entry-pageload scope limitation. - Wording coordinated with the Apple and React Native WebView doc updates for cross-platform consistency.
References
- Meta-tag continuation contract the page should point to: https://docs.sentry.io/platforms/javascript/tracing/distributed-tracing/
- Current Android WebView page to replace: https://docs.sentry.io/platforms/android/configuration/webview/
- Cross-platform parity: RN docs issue (getsentry/sentry-react-native#6782), Apple docs issue
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 2 天 15 小時
- 30 天內合併 PR
- 65
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-java 的其他 Issue
-
Bug Java Platform: Android Platform: Java
難度 2/5 1-3 小時 新手友好度 78/100
getsentry/sentry-java#6138 · 1 則留言 ·
維護者通常 1 天內回覆
-
Feature Java Platform: Java Spans
難度 2/5 1-3 小時 新手友好度 68/100
getsentry/sentry-java#5984 · 1 則留言 ·
維護者通常 1 天內回覆
-
Android Task Traces
難度 2/5 1-3 小時 新手友好度 68/100
getsentry/sentry-java#5376 · 1 則留言 ·
維護者通常 1 天內回覆
-
Android Docs Errors
難度 2/5 1-3 小時 新手友好度 64/100
getsentry/sentry-java#5375 · 1 則留言 ·
維護者通常 1 天內回覆
-
Android good first issue Task User Feedbacks
難度 1/5 1-3 小時 新手友好度 68/100
getsentry/sentry-java#5354 · 1 則留言 ·
維護者通常 1 天內回覆
查看 getsentry/sentry-java 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 95/100
-
難度 2/5 1-3 小時 新手友好度 74/100
T31n/YagniLauncher#1051 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
-
Accepted Needs Triage
難度 2/5 1-3 小時 新手友好度 84/100
ankidroid/Anki-Android#22114 · 5 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
solana-foundation/pay-kit#341 ·
維護者通常 1 天內回覆