# Web Push for Web Apps on iOS and iPadOS

**URL:** <https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518>\
**Category:** Web\
**Created:** [February 16, 2023, 10:53pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518 "2023-02-16T22:53:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek\_Traxler](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Derek\_Traxler](https://forum.xojo.com/u/Derek_Traxler)\
**Post date:** [February 16, 2023, 10:53pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/1 "2023-02-16T22:53:31Z")

</div>

> **[Web Push for Web Apps on iOS and iPadOS](https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/)**
>
> With iOS and iPadOS 16.4 beta 1 comes support for Web Push for Home Screen web apps, Badging API, Manifest ID, and more.

I think this would be pretty neat to have in Xojo.

---

<div class="post-metadata">

**Author:** ![DerkJ](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@DerkJ](https://forum.xojo.com/u/DerkJ)\
**Post date:** [February 17, 2023, 7:49am UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/2 "2023-02-17T07:49:00Z")

</div>

create a feature request in xojo issues? this would be a good addition.

---

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [February 17, 2023, 2:05pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/3 "2023-02-17T14:05:28Z")

</div>

Is this different from what Xojo already offers (Xojo Cloud)?

> **[Remote Notifications in iOS – Xojo Programming Blog](https://blog.xojo.com/2021/07/22/remote-notifications-in-ios/)**

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 17, 2023, 2:15pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/4 "2023-02-17T14:15:22Z")

</div>

It is. The blog post is about doing it with an iOS app. Some parts are relevant (the sending part) but the ability for a **web** app to receive them is what’s new.

That said, it’s important to remember that Xojo web apps require an existing connection to the back-end to run any logic. You could probably put some handler code in JavaScript, and probably copy that data to a cookie before the connection resets so you can read it when the next session starts, but It’s going to be challenging to get any feedback from the user unless all of the logic is on the browser side.

---

<div class="post-metadata">

**Author:** ![Derek\_Traxler](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Derek\_Traxler](https://forum.xojo.com/u/Derek_Traxler)\
**Post date:** [February 17, 2023, 2:28pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/5 "2023-02-17T14:28:38Z")

</div>

I’m hoping this would enable a notification that there’s “interaction required” for a xojo web app that is backgrounded or closed. Keep in mind one of the requirements is that the user has added the web app to their home screen.

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 17, 2023, 2:36pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/6 "2023-02-17T14:36:16Z")

</div>

It’ll be interesting to see what becomes of this. Having watched the WWDC22 video just now, full background support (when safari is not running) only exists on macOS Ventura, so unless your users are on latest and greatest macOS and iOS, they still may not get every notification (unless they leave Safari running all day).

That said, this would be relatively easy to implement as a WebSDK control.

---

<div class="post-metadata">

**Author:** ![Derek\_Traxler](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Derek\_Traxler](https://forum.xojo.com/u/Derek_Traxler)\
**Post date:** [February 17, 2023, 2:48pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/7 "2023-02-17T14:48:04Z")

</div>

This is iOS / iPadOS specific. It should not require safari to be open to receive a push.

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 17, 2023, 4:44pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/8 "2023-02-17T16:44:05Z")

</div>

I understand what you’re saying, but the technology also applies to Safari on macOS Ventura. If you do this in a web app, you’re not going to be able to control whether users are using a phone, tablet or a desktop computer to access it.

---

<div class="post-metadata">

**Author:** ![Derek\_Traxler](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Derek\_Traxler](https://forum.xojo.com/u/Derek_Traxler)\
**Post date:** [February 17, 2023, 5:06pm UTC](https://forum.xojo.com/t/web-push-for-web-apps-on-ios-and-ipados/74518/9 "2023-02-17T17:06:53Z")

</div>

This is a game changer for developers that want to target iOS without the red tape. This is also a win for web standards in general. There are lots of apps that could have avoided the 30% tax because they needed one more feature: push.
