Discourse は iOS で PWA として動作するようになりました

ついに実現しました!Discourse を iOS デバイスで pwa として利用できるようになりました。

これは長年の取り組みの成果であり、Apple からの多くの変更と、私たち自身による数多くの変更によって可能になりました。

meta.discourse.orgreview.discourse.org の両方で全機能が有効になっているため、ぜひお試しください:

これにより、ホーム画面に Discourse インスタンスのアイコンが表示されるようになります。アイコンをタップすると、以下のような体験が可能です:

  • iOS の alt-tab オーバービューに専用の「アプリケーション」として表示
  • Safari の UI が表示されないフルスクリーン体験
  • オフラインでも以前閲覧したコンテンツを閲覧可能
  • プッシュ通知のサポート

今後数日間でデフォルトで有効化する予定です。 現在、デフォルトで有効になっています :tada:

よくある質問

なぜ PWA で再度ログインが必要なのですか?

PWA インスタンスは iOS のメイン Safari とクッキーを共有しないためです。

PWA はプッシュ通知をサポートしていますか?

はい、サポートしています。

「いいね!」 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

凍結は私の iOS デバイスでも発生します。修正の予定はありますか?

「いいね!」 1

@Falco 動画が非公開に設定されているようです。まだお持ちですか? :slight_smile: ありがとうございます!

「いいね!」 1

これはOPで更新する必要があると思います。以下を参照してください。

「いいね!」 1

通知をサポートしていると言うのは誤解を招くでしょう。しばらく前に有効にしてから、一度も通知を受け取っていません。

よく気が付きました。更新しました。

プッシュ通知に関して問題なく、チームの複数のメンバーが日常的に利用しています。私のiPadでも常に機能しています。

もし最新の安定版OSバージョンを使用しており、競合するHubのインストールがない場合など、プッシュを有効にしたときに具体的に何が起こるのか、非常に詳細な手順を記載したバグトピックを開くことをお勧めします。

「いいね!」 4

現在、最新ビルドの17開発者ベータ版を使用しています。しかし、これは実際には違いを生んでいません。私が使用していたすべての16 RCビルドで、プッシュ通知はなく、ハブアプリもまだインストールされていませんでした。時間があるときにレポートを開きます。

そして、17.4でこれは終了します。少なくともヨーロッパでは。

「いいね!」 9