PWA push notifications
-
@crazycells I will believe it when it happens
-
@julian said in PWA push notifications:
@crazycells I will believe it when it happens
-
@julian said in PWA push notifications:
@crazycells I will believe it when it happens
Hi @julian , since apple has been supporting web push notifications for a while now... I am curious if there is an android counterpart plugin for ios in the pipeline?
Sending web push notifications in web apps and browsers | Apple Developer Documentation
Update your web server and website to send push notifications that work in Safari, other browsers, and web apps, following cross-browser standards.
Apple Developer Documentation (developer.apple.com)
-
This post is deleted!
-
@danh @crazycells Maybe? I have a 4 year old proof-of-concept plugin that made it to testing but then I just plain didn't work on Apple devices, so the plugin (a private one) was abandoned outright.
It's based off of firebase.
There are no licensing issues, so I can open-source it for review if need be, but I cannot guarantee that it'll even work.
-
Hi @julian, I'm planning to work on one anyway. It's always better to start off with something already existed.
I'm not familar with the stack yet and just started looking into other notification plugins.
I'm actually using pwa app on android made by pwabuilder.com to reply your comment. It's not bad at all.
Ntfy is great but it requires users to download third party app. Works but not ideal.
Can you share the code please?
-
Web Push Notifications on iOS Demo & Test
Web push notifications demo on iOS and Android. Get the free starter template with support for iOS Safari PWA notifications.
(webpushtest.com)
A working ios pwa demo.
-
@danh said in PWA push notifications:
Ntfy is great but it requires users to download third party app. Works but not ideal.
I agree.
But I guess, ideally, we would have all three plugins, ntfy, firebase and, ios-counterpart of the firebase... So, users can decide which one to use...
we are waiting for ios notification plugin, because we have nearly a 50-50 ratio of ios to android users... so we cannot activate it for half but not the rest, they would react ... but definitely would not mind paying for firebase and ios-counterpart plugin...
-
@danh said in PWA push notifications:
Hi @julian, I'm planning to work on one anyway.
great to hear this
please let me know when it is ready to test, so I can start testing -
@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.
GitHub - NodeBB/nodebb-plugin-firebase: Firebase Integration for NodeBB
Firebase Integration for NodeBB. Contribute to NodeBB/nodebb-plugin-firebase development by creating an account on GitHub.
GitHub (github.com)
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
user mentions in chat rooms not working Β· Issue #12521 Β· NodeBB/NodeBB
// on master matches [ '@baris' ] after slugify [ 'baris' ] // on activitypub branch matches [ '@baris' ] after slugify [ '@baris' ] After that mentions plugin can't find a userslug for @baris and no notification is sent.
GitHub (github.com)