push notifications #25

Open
opened 1 year ago by x1ddos · 2 comments
x1ddos commented 1 year ago
Owner

not sure how it would work. probably a service worker that (re-)connects to relay once in a while (1h?) and shows notifications if enabled: direct messages, text notes from certain pubkeys, chat messages.

makes sense to do this after #15 so that when a user taps a notifications on the phone, it always opens the same instance of the webapp, as opposed to a new web page every time.

not sure how it would work. probably a service worker that (re-)connects to relay once in a while (1h?) and shows notifications if enabled: direct messages, text notes from certain pubkeys, chat messages. makes sense to do this after https://git.qcode.ch/nostr/nostrweb/issues/15 so that when a user taps a notifications on the phone, it always opens the same instance of the webapp, as opposed to a new web page every time.
x1ddos added a new dependency 1 year ago
offbyn commented 1 year ago
Owner

would be nice if "enable notification" is an opt-in config in the setting view. otherwise the user gets prompted with "nostr wants to show notifications" on page load, which could be a bad first impression.

would be nice if "enable notification" is an opt-in config in the setting view. otherwise the user gets prompted with "nostr wants to show notifications" on page load, which could be a bad first impression.
x1ddos commented 1 year ago
Poster
Owner

of course, it should be an opt-in setting.

of course, it should be an opt-in setting.
x1ddos added this to the mvp project 1 year ago
x1ddos added the
feature
label 1 year ago
x1ddos removed this from the mvp project 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Depends on
Reference: nostr/nostrweb#25
Loading…
There is no content yet.