مناقشة الآن يعمل كتطبيق ويب تقدمّي على iOS

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 and review.discourse.org have all features enabled, so please give it a go:

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 :tada:

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

45 إعجابًا

Very very nice :+1: :+1:

Is there something similar for Android devices?

إعجاب واحد (1)

It is available on Android for over four years now.

11 إعجابًا

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

إعجابَين (2)

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

10 إعجابات

This is now enabled by default :tada:

12 إعجابًا

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:

4 إعجابات

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.

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.

5 إعجابات

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

8 إعجابات

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

7 إعجابات

iOS in a nutshell

10 إعجابات

When it comes to PWAs? :sweat_smile:

4 إعجابات

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 :slightly_smiling_face:

إعجاب واحد (1)

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

إعجاب واحد (1)

@Falco يبدو أن الفيديو تم تعيينه على خاص، هل لا يزال لديك؟ :slight_smile: شكرا!

إعجاب واحد (1)

أعتقد أن هذا يحتاج إلى تحديث في المشاركة الأولى وفقًا لـ:

إعجاب واحد (1)

سيكون من المضلل القول إنه يدعم الإشعارات. لم أتلق إشعارًا واحدًا منذ تفعيلها قبل فترة.

اكتشاف جيد، تم التحديث.

لدينا عدة أشخاص في الفريق يقودون ذلك يوميًا دون أي مشاكل بخصوص الإشعارات الفورية. إنها تعمل دائمًا على جهاز iPad الخاص بي أيضًا.

أقترح فتح موضوع خطأ بخطوات مفصلة حول ما يحدث بالضبط عند تمكين الدفع هنا على Meta على PWA الخاص بك بنظام iOS، إذا كنت تستخدم أحدث إصدار مستقر من نظام التشغيل، إذا لم يكن لديك تثبيت متعارض لـ Hub، وما إلى ذلك.

4 إعجابات

حاليًا، أنا على الإصدار التجريبي للمطور 17، أحدث بناء. ومع ذلك، هذا لا يُحدث فرقًا حقيقيًا. على كل بناء 16 RC كنت عليه، لم يكن هناك إشعار دفع، ولم يتم تثبيت تطبيق Hub أيضًا. سأفتح تقريرًا عندما أجد وقتًا.

ومع الإصدار 17.4 سينتهي هذا، على الأقل في أوروبا.

9 إعجابات