Open EdwardHinkle opened 7 years ago
Basically the idea is when you login to indigneous, I want it to notify the indigenous server (doesn't currently exist) that user has "registered" which would then open up an API endpoint and a token, allowing a person to push notifications to the app through the endpoint. I'm planning to have built in support for webmention.io (meaning someone can just have webmention.io push directly to the notification endpoint) or they can use their server as the middle-man.
It will also allow generic notifications where you can pass from your server to the API notification content, and an action url for when the notification is clicked.
Conversation with @aaronpk regarding how notifications should work: https://chat.indieweb.org/dev/2017-12-27#t1514396658868100
Summary: I could see having some sort of setup in Monocle where you tell Monocle how to deliver push notifications, and then I'd put in this Indigenous push URL in the settings there then any time Monocle added something to the notifications channel it would know to also go send that to the push server tbh the easiest thing would probably be to make your endpoint speak Micropub then if anyone else built a push notification server they could also make it speak Micropub and then everything would work together and by "speak micropub" I mean just a subset of properties of course: content, name, photo? Yeah, I’m thinking content, name, photo and u-url oh yeah cause you can tap to launch them
ooh what are you planning with push notifications?