thunderbird/thunderbird-android

Ask for notification permission when enabling account notifications

开放

#7,554 创建于 2024年1月24日

 (9 条评论) (0 个反应) (0 位负责人)Kotlin (2,734 个派生)batch import
good first issuepriority: medium

仓库指标

星标
 (13,479 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently the app is only asking for the notification permission during onboarding. But if the user doesn't grant the permission then, the app should ask again when the user enables notifications for an account (either when adding an additional account or via account settings).

We'll also have to handle the case where the user has denied the permission already and point them to the correct Android screen to reverse that decision.

Open question: What should the app do when it notices the notification permission has been revoked, but notifications are enabled inside the app?

贡献者指南