Login
You're viewing the front-end.social public feed.
  • Feb 17, 2023, 1:52 PM

    @maas Thanks, yes, I think I'm able to figure out the SW parts, and JS too. It's the pushing parts I never understood. But seems like Autopush is a complete product for this? That has an API you call from your CMS, is that right?

    💬 1🔄 0⭐ 0

Replies

  • Feb 17, 2023, 1:57 PM

    @naton

    Mozilla's whole end-point implementation is open-source I think.

    I mainly used the docs here to be able to encrypt the messages and send them to the end-points and handle the responses of the end-points correctly.

    I can see why a server-side product/library pushing messages would be useful. 🙂

    💬 1🔄 0⭐ 0
  • Feb 17, 2023, 2:00 PM

    @maas Haha, yeah. It's either "roll your own, using Rust" or "cloud based SAAS, pay per user".. Where's the framework solution for [my platform] that I can just download? :D

    💬 1🔄 0⭐ 0
  • Feb 17, 2023, 2:04 PM

    @naton They are probably being implemented right now, after this announcement. 🙂

    It was on our todo list for a long time. It became a priority, because we wanted notifications in the Android PWA app we are building right now. (We already made the iOS pwa shell app)

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Feb 17, 2023, 2:24 PM

    @naton No indeed, that is only the sending part. The storage of the client subscriptions is very application dependent. We have an identity table which stores them, they are tied to the user accounts, but YMMV.

    💬 0🔄 0⭐ 0