-
Notifications
You must be signed in to change notification settings - Fork 320
Open
Labels
Milestone
Description
In my initial implementation of notifications (#122), I think for simplicity I'll have it go ahead and initialize the notifications infrastructure as soon as the app is launched: find out the registration token, and listen for incoming notification messages.
This is likely to produce an off-putting UX at onboarding time, though: it's likely to cause a permissions prompt, asking the user to give us permission to show notifications, first thing before they've had any other interaction with the app.
So we should fix it so that we instead do the setup only once the user is actually logged into a Zulip account. That means:
- Upon launch, if there's an account they're logged into, go ahead and initialize notifications.
- If we didn't initialize notifications upon launch, then when the user does successfully log into an account, initialize notifications then.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status