Sorry if this was covered elsewhere, but can push notifications be set up for android and ios? It seems like it’s something that can be done.
Here’s a comment from another discourse forum:
For self hosted forums, push notification only works for Android, and you should activate this option : push notifications prompt to invite your users to receive notification. It’s not activated by default
Yet the following discussion makes it seem like it’s also possible for ios devices.
For self hosted forums, push notification only works for Android, and you should activate this option : push notifications prompt to invite your users to receive notification. It’s not activated by default
Yet the following discussion makes it seem like it’s also possible for ios devices.
Indeed, but that was a fix on a service provided to discourse.org users only. The last news I’ve found (June '21) are still the same. This is why, according to the Co-founder of Discourse:
“self-hosted push notifications would mean you have to register an account with Apple. Discourse can not handle data of forums we do not host”.
When asked:
When you say register an act with apple, how would I do that as it’s not a dev act for an app but specifically a website using the discourse app. Is that possible??
He explained:
You would have to
Fork Discourse Hub
Register a dev account with apple
Repackage as a standalone app for your site
Publish to the app store
Build infra to handle the push notifications
I am afraid there is no easy solution here, on Android - Google provide a public proxy. Apple do not do that.
Hi Miguel - I am receiving very delayed emails that sometimes do not come through chronologically, eg, I might receive an email perhaps 1-2 hours after a message is posted on the forum, or I’ll receive an email for a message that was posted prior to an earlier message for which I already received an email for.
Other than the standard email notification that I receive for all emails in general, I am not receiving push notifications directly on my device when a message is posted (I enabled notifications and set all categories and topics to ‘Watching’).
For example, this message you @ addressed to me, I have not received an email nor a push notification.
I have an Android device. I was just mentioning iOS out of concern for those who have an Apple phone/tablet.
For self hosted forums, push notification only works for Android, and you should activate this option : push notifications prompt to invite your users to receive notification. It’s not activated by default
It says that once the push notification has been activated, an invitation would be sent to users prompting them to accept push notifications. I have not seen/ received any invitation of that sort.
I just flipped off and then flipped on again the notifications. It says it is enabled. And I receive even the notification that it is enabled. But no notifications from posts to the forum.