# Discourse כרגע עובד כ-PWA ב-iOS

**URL:** https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346
**Category:** Announcements
**Tags:** pwa, new-feature
**Created:** [31 במרץ,‏ 2020,‏ 10:03pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346 "2020-03-31T22:03:09Z")
**Posts on this page:** 20
**Page:** 1

<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: [31 במרץ,‏ 2020,‏ 10:03pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/1 "2020-03-31T22:03:09Z")

</div>

It’s been a long time coming, but finally Discourse can be used as a #pwa in iOS devices.

This is now possible thanks to many changes over the years, some from Apple and lots from us.

Both [meta.discourse.org](http://meta.discourse.org) and [review.discourse.org](http://review.discourse.org) have all features enabled, so please give it a go:

 ![szoter_annotated_image_1](https://global.discourse-cdn.com/meta/original/3X/4/9/49f16d0874104b9bd6dcc4f08e2957f0a839981e.jpeg)

 ![szoter_annotated_image_2](https://global.discourse-cdn.com/meta/original/3X/f/1/f1ab83653607df58b8e8936d976445407960de25.jpeg)

 ![szoter_annotated_image_3](https://global.discourse-cdn.com/meta/original/3X/4/8/48445c10e4dbd6cb9e44399fb96313fab950d93b.jpeg)

After that you get a nice icon for the Discourse instance on your home screen. After clicking on it you will have:

- A dedicated “application” in iOS alt-tab overview
- A full screen experience without the Safari UI
- The ability to browse previously visited content while offline
- Support for push notifications

~~We plan to enable this by default in the coming days.~~ This is now enabled by default 🎉

#### FAQ

##### Why do I have to login again in the PWA?

Because the PWA instance doesn’t share cookies with main Safari on iOS

##### Does the PWA support push notifications?

Yes

---

<div class="post-metadata">

### Author: ![Paracelsus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paracelsus/32/164912_2.png) [@Paracelsus](https://meta.discourse.org/u/Paracelsus)
#### Post date: [31 במרץ,‏ 2020,‏ 10:30pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/2 "2020-03-31T22:30:29Z")

</div>

Very very nice 👍 👍

Is there something similar for Android devices?

---

<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: [31 במרץ,‏ 2020,‏ 10:37pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/3 "2020-03-31T22:37:50Z")

</div>

It is available on Android for over four years now.

> [@Fully support Android Chrome's "Add to Homescreen"](https://meta.discourse.org/t/fully-support-android-chromes-add-to-homescreen/21067/10):
>
> By using @tgxworld work, I just added more entries to get a better app feeling. This PR makes the window standalone (no address bar), adds the header background color to the Android top bar and uses the Discourse background color on the splash screen background so the transition is smoother. [https://github.com/discourse/discourse/pull/4099](https://github.com/discourse/discourse/pull/4099) I made a small video too:

---

<div class="post-metadata">

### Author: ![Jacksurd7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jacksurd7/32/174984_2.png) [@Jacksurd7](https://meta.discourse.org/u/Jacksurd7)
#### Post date: [31 במרץ,‏ 2020,‏ 11:53pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/4 "2020-03-31T23:53:08Z")

</div>

Thank god! Apple has been on a roll recently! I will probably be bugging anybody who has a Discourse forum.

---

<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: [1 באפריל,‏ 2020,‏ 12:45am UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/5 "2020-04-01T00:45:04Z")

</div>

No need to bug the admins. As said in the OP we will switch this to default if it works well.

---

<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: [7 באפריל,‏ 2020,‏ 11:25pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/6 "2020-04-07T23:25:04Z")

</div>

This is now enabled by default 🎉

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [8 באפריל,‏ 2020,‏ 12:03am UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/7 "2020-04-08T00:03:54Z")

</div>

Thanks for your work on this.

If push notifications are supported by Discourse PWAs in future, this will kill off one of the prime advantages of Facebook Groups. Can’t wait for this to arrive, although it’s a technically significant undertaking so I don’t expect it any time soon.

I noticed a very minor issue with the new PWA on my instance. When clicking a link that navigates to another iPhone app eg a Twitter onebox, the “inter-app” back button shows “Untitled” as opposed to the name of my forum:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/2/22b65d582bd38b3f34ccbaa04c0852bee48f86ff.jpeg)

---

<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: [8 באפריל,‏ 2020,‏ 12:12am UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/8 "2020-04-08T00:12:50Z")

</div>

> [@ChrisBeach](#):
>
> although it’s a technically significant undertaking so I don’t expect it any time soon.

This would be quite simple to do on the Discourse side, as we implement the web standard. The ball is in the Apple court, as they have the only browser who doesn’t implement it while prohibiting competing browsers on their iOS devices.

> [@ChrisBeach](#):
>
> I noticed a very minor issue with the new PWA on my instance. When clicking a link that navigates to another iPhone app eg a Twitter onebox, the “inter-app” back button shows “Untitled” as opposed to the name of my forum:
> 
> ![image](https://global.discourse-cdn.com/meta/original/3X/2/2/22b65d582bd38b3f34ccbaa04c0852bee48f86ff.jpeg)

That’s weird. But as we set title in both the `.webmanifest` and in our main document, there is nothing we can do. It’s a bug on Apple implementation.

---

<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: [5 במאי,‏ 2020,‏ 6:20pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/9 "2020-05-05T18:20:02Z")

</div>

iOS 13.5 fixes one annoying bug when multi-tasking into PWAs 🎉

> <https://twitter.com/kpk/status/1257057933835132928>

---

<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: [20 באוגוסט,‏ 2020,‏ 2:14pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/10 "2020-08-20T14:14:30Z")

</div>

Someone’s written a short article about PWA’s and iOS 14:

> **[iOS 14 PWA Improvements](https://goulet.dev/posts/ios14-pwa-improvements/)**
>
> Writing down what I'm learning as a software developer - TypeScript, PWAs, web components, Jamstack, etc

---

<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: [20 באוגוסט,‏ 2020,‏ 3:21pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/11 "2020-08-20T15:21:31Z")

</div>

> [@merefield](#):
>
> PWA’s and iOS 14:

> [@merefield](#):
>
> Unfortunately, there aren’t really any PWA-specific improvement

iOS in a nutshell

 ![](https://media.tenor.com/videos/ee4b73a1909b799693bb5f3e5c4b0bfa/mp4)

---

<div class="post-metadata">

### Author: ![Jacksurd7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jacksurd7/32/174984_2.png) [@Jacksurd7](https://meta.discourse.org/u/Jacksurd7)
#### Post date: [20 באוגוסט,‏ 2020,‏ 6:00pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/12 "2020-08-20T18:00:37Z")

</div>

> [@Falco](#):
>
> iOS in a nutshell

When it comes to PWAs? 😅

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [31 באוגוסט,‏ 2020,‏ 6:24pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/13 "2020-08-31T18:24:30Z")

</div>

**Hello,**

There is a problem with the PWA’s when multitasking. **It freezes most of the time.** Not just my forum but it’s repro on Meta’s PWA also. This bug appear on both platform (iOS, Android) but mostly iOS. Is that possible to fix this somehow? **Thank you** 🙂

---

<div class="post-metadata">

### Author: ![anon82467725](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@anon82467725](https://meta.discourse.org/u/anon82467725)
#### Post date: [12 במרץ,‏ 2021,‏ 7:50pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/14 "2021-03-12T19:50:17Z")

</div>

The freezing also occurs on my iOS devices. Are there any plans to fix it?

---

<div class="post-metadata">

### Author: ![James\_Cribbs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/james_cribbs/32/249821_2.png) [@James\_Cribbs](https://meta.discourse.org/u/James_Cribbs)
#### Post date: [17 במאי,‏ 2022,‏ 10:56am UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/15 "2022-05-17T10:56:13Z")

</div>

@Falco it seems the video is set to private, do you still have it? 🙂 thank you!

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/c/9/ac9762269f2f25c3f03ed936718d2c896df928de.png)

---

<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: [11 באוגוסט,‏ 2023,‏ 10:06am UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/16 "2023-08-11T10:06:39Z")

</div>

> [@Falco](#):
>
> ##### Does the PWA support push notifications?
> 
> No.

I think this needs to be updated in the OP as per:

> [@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: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [11 באוגוסט,‏ 2023,‏ 1:32pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/17 "2023-08-11T13:32:16Z")

</div>

It would be misleading to say that it supports notifications. I haven’t gotten a single one since I enabled them a while ago.

---

<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: [11 באוגוסט,‏ 2023,‏ 2:19pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/18 "2023-08-11T14:19:05Z")

</div>

> [@merefield](#):
>
> I think this needs to be updated in the OP

Good catch, updated.

> [@darkpixlz](#):
>
> It would be misleading to say that it supports notifications. I haven’t gotten a single one since I enabled them a while ago

We have multiple people on team daily driving it without any problems regarding push notifications. It always works on my iPad too.

I’d suggest opening a bug topic with very detailed steps about what’s happening exactly when you enable push here on Meta on your iOS PWA, if you are on the latest stable OS version, if you don’t have a conflicting Hub install, etc.

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [11 באוגוסט,‏ 2023,‏ 2:31pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/19 "2023-08-11T14:31:39Z")

</div>

> [@Falco](#):
>
> if you are on the latest stable OS version, if you don’t have a conflicting Hub install, etc.

Currently, I am on the 17 developer beta, latest build. However, this isn’t really making a difference. On every 16 RC build I was on, there was still no push notification, and also no hub app still installed. I’ll open a report when I get time.

---

<div class="post-metadata">

### Author: ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)
#### Post date: [9 בפברואר,‏ 2024,‏ 1:00pm UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/20 "2024-02-09T13:00:20Z")

</div>

And with 17.4 this will end, at least in Europe.

> **[Apple broke web apps in iOS 17 beta and hasn't fixed them](https://www.theregister.com/software/2024/02/08/apple-broke-web-apps-in-ios-17-beta-and-hasnt-fixed-them/515288)**
>
> PWAs demoted to OWB: Operating Within Browser

[Next page](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346.md?page=2)
