feat(notify): let Android users review urgent channel settings - #572
Open
Vinson1014 wants to merge 1 commit into
Open
feat(notify): let Android users review urgent channel settings#572Vinson1014 wants to merge 1 commit into
Vinson1014 wants to merge 1 commit into
Conversation
Platform: android New(zh-Hant): Android 可逐一檢查重大通知是否能在勿擾模式中發出 New(en-US): Android users can review major-alert channels in Do Not Disturb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Platform: android
New(zh-Hant): Android 可逐一檢查重大通知是否能在勿擾模式中發出
New(en-US): Android users can review major-alert channels in Do Not Disturb
這個 PR 做了什麼
在 Android 的 onboarding 與權限檢查中,顯示重大通知頻道的實際勿擾模式狀態,並提供各頻道的系統設定入口。
Android 沒有與 iOS Critical Alerts 完全對等的公開能力。本 PR 協助使用者設定重大通知頻道是否可通過勿擾模式,但通知無法穿透靜音模式、震動模式、零通知音量、頻道靜音或 OEM 額外限制。
相關 issue
怎麼驗
canBypassDnd()顯示目前是否允許在勿擾模式期間通知。自動驗證:
tool/check.sh通過。flutter analyze無問題。檢查清單
tool/check/commits.sh origin/main..HEAD通過—— commit 訊息就是更新日誌,格式見 commit.md
mise exec -- flutter analyze與mise exec -- flutter test通過AppLocalizations,沒有寫死AppSpacing/AppRadius/AppMotion,深色模式看過,文字對比度可接受