forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
notifs: Show in more places that the org hasn't enabled push notifica…
…tions In particular, the message > Push notifications are not enabled for {realmName}. can now appear in these places: - on the "Notifications" button in the settings screen - in the dialog shown when you tap a warning icon on the active account in the "Pick account" screen. Before this, both of those places would just say: > Notifications for this account may not arrive. which was less definitive than we would like. (If the server hasn't enabled push notifications, then they definitely won't arrive.) In this commit, we also start using those same two places to give other actionable feedback as it applies: > Notifications are disabled in system settings. > Notifications require Google Play Services, which is unavailable. For the "Google Play Services" message, this commit also causes it to appear on the "Troubleshooting" button in the notification settings screen. (When the "not enabled for {realmName}" case or the "disabled in system settings" case applies, the notification settings screen already has appropriate messaging, since before this commit, that doesn't involve the "Troubleshooting" button.) Fixes-partly: zulip#5785
- Loading branch information
1 parent
fb041a1
commit ac32a7a
Showing
4 changed files
with
82 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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