Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

docs: Update Android WebView guidance for connected traces

未關閉 適合新手
#6,161 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 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 內容生成。

描述

Platform: Java

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

主要語言
Kotlin
星號
1.4k
分支
478
平均合併
2 天 15 小時
30 天內合併 PR
65

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/sentry-java 的其他 Issue

查看 getsentry/sentry-java 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。