relaycc / receiver

Relay Receiver is a React library that makes it easy to add Web3 messaging to your website.
http://www.demo.relay.cc
MIT License
39 stars 2 forks source link

Notifications (EPNS?) #45

Open killthebuddh4 opened 2 years ago

killthebuddh4 commented 2 years ago
seanonchain commented 2 years ago

Two ideas here:

  1. Use EPNS channels Pros: would integrate nicely with Bridge, would allow other EPNS sites to send notifications that Receiver knows how to handle and ping user for. EPNS phone app can give phone pings. Con: adding another dependency when XMTP could work @killthebuddh4 spend a bit of time on the docs here to get an idea: https://docs.epns.io/developers/concepts/create-your-notif-channel

  2. Build Receiver to notify/ping the chatbox for incoming/new XMTP messages.

In either case, we can count the new messages coming in since the last read and show that as a red number on the icon.