# iOS: Push notifications for independent sites

**URL:** https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014
**Category:** Feature
**Created:** [October 16, 2022, 12:24pm UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014 "2022-10-16T12:24:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hacker-dom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hacker-dom/32/129202_2.png) [@hacker-dom](https://meta.discourse.org/u/hacker-dom)
#### Post date: [October 16, 2022, 12:24pm UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014/1 "2022-10-16T12:24:07Z")

</div>

I was wondering what the current status on PUSH NOTIFICATIONS on iOS is.

Afaict

- DiscoureHub offers push notifications for hosted sites
- other sites have poll notifications which are unreliable
- admins can use Pushover
- Apple might solve this in 2023

As a regular user (no admin) I was wondering what my options are (for a “self”-hosted site). Open to using external services like Pushover, Telegram bot..

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 20, 2022, 11:32pm UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014/2 "2022-10-20T23:32:50Z")

</div>

I would certainly recommend trying [Pushover notifications](https://meta.discourse.org/t/pushover-notifications/119258) for size. Let us know how it goes for you.

---

<div class="post-metadata">

### Author: ![hacker-dom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hacker-dom/32/129202_2.png) [@hacker-dom](https://meta.discourse.org/u/hacker-dom)
#### Post date: [October 21, 2022, 9:26am UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014/3 "2022-10-21T09:26:42Z")

</div>

I just briefly had a look at it

> After you created the application, copy the resulting API token to the Discourse admin plugin pages, and enable the plguin.

> All users will then be able to add their User keys in their preference → Notifications.

But it seems that this is for admins not for regolar site users right?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [October 21, 2022, 10:44am UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014/4 "2022-10-21T10:44:04Z")

</div>

The full monty is to deploy to one or both of the app stores using:

> [@Whitelisted Discourse app with Push Notifications via OneSignal](https://meta.discourse.org/t/whitelisted-discourse-app-with-push-notifications-via-onesignal/58247):
>
> Following up on the discussion [here](https://meta.discourse.org/t/what-if-i-want-to-white-label-the-discourse-mobile-apps/53063/9), I have successfully set up a fork of the official Discourse app that can send push notifications via the OneSignal API. There are two parts to this: [discourse-onesignal](https://github.com/pmusaraj/discourse-onesignal/) - a Discourse plugin that sends Push Notifications to OneSignal’s REST API and a [Discourse Mobile Single Site App](https://github.com/pmusaraj/discourse-mobile-single-site-app) built similarly to the official Discourse Mobile app (using React Native), but using OneSignal for notifications and a simplified interface to suit the needs of a single app. I…

But you will almost certainly need an experienced developer to help you with this (if you are not one yourself) and it is not the cheapest option, but it is the most integrated and gives you a marketing spot in the app stores.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 8, 2023, 2:16pm UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014/5 "2023-04-08T14:16:57Z")

</div>

As of today, any Discourse sites have push notifications on iOS provided the user adds the site to their home screen and enabled push notifications.

> [@iOS 16 web push notifications in 2023](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/30):
>
> [1] pry(main)\> PushSubscription.last =\> #\<PushSubscription:0x00007fec11b781a8 id: 5164, user\_id: 8722, data: "{\"endpoint\":\"https://web.push.apple.com/.........\",\"keys\":{\"p256dh\":\"..................\",\"auth\":\"..............\"}}", created\_at: Thu, 16 Feb 2023 21:51:24.260325000 UTC +00:00, updated\_at: Thu, 16 Feb 2023 21:51:24.260325000 UTC +00:00, error\_count: 0, first\_error\_at: nil\> Just enabled it here on Meta on my iPad, let’s see how…

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 8, 2023, 2:18pm UTC](https://meta.discourse.org/t/ios-push-notifications-for-independent-sites/242014/6 "2023-04-08T14:18:10Z")

</div>


