PWA push notifications
-
@crazycells I'd also be interested in this
-
@phenomlab @danh @crazycells ok, will open source the code later today.
Firebase is just the backend platform/service. You'll be able to use it to send push notifications iOS on it now (hopefully)
-
@bh4-tech @crazycells The plugin has now been open sourced.
https://github.com/NodeBB/nodebb-plugin-firebase
There is no guarantee that it works as intended, and given that the code is 4 years old, it likely will need some updates to work with v3.x
-
@julian thanks a bunch @julian ... on an unrelated note, I do not get notification on the forum or on ntfy when you tag me anymore... I believe it is related to what @baris wrote here before... https://community.nodebb.org/message/71603
-
@crazycells Thanks for the reminder. I'll take a look.
-
@oplik0 Noticed that you have cloned the repository. Are you planning to make it compatible with current version of NodeBB?
Asking this because I installed the plugin and upon opening its admin page got (console) error- Cannot find module './plugins/firebase'. The UI for configuration also does not load. -
@bh4-tech yes, sorry for late response, I was just quite busy the last few weeks I'm planning to make the plugin work, but sadly it'll need a bit more work than just making it compatible with current NodeBB version as it's using a deprecated firebase API that's going to stop working this June...
And it's doing that because the new API requires a bit more setup to work... So this will need to be implemented.
I'll probably start working on it mid-June, once this semester ends for me, since as I mentioned I'm a bit too busy right now.
-
@julian My intended (small) user group is not tech savvy and no one will bother to browse the forum in one place and register for and receive notifications in another place(which is what happens with ntfy), thereby missing out web push notifications. I don't have any problem with what plugin is used under the hood(firebase or ntfy), the only thing is web push notifications should be received under the same domain as the forum and clicking on it should open the respective post/comment.