3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

iOS16.4から利用できるプッシュ通知まとめ

Last updated at Posted at 2023-02-28

iOSのWebプッシュ通知調査

  • macOSですでに対応しているPWAは自動的にiOSにも対応するらしい
    image.png

  • ↓のようにくる?
    image.png

  • Webの規約に従ったコーディングをした場合は、特にSafari専用の設定は特に必要ない?

  • サーバー上のプッシュエンドポイントを厳密に管理する場合、「.push.apple.com」のサブドメインを許可する必要あり

  • PWAアプリとしてホーム画面に追加する必要がある。

  • モバイルアプリと同じような感じでPWAのプッシュ通知の設定ができるっぽい。

  • ドメイン全体で動作するJSのユニット(Service Worker)をインストール→Webアプリはプッシュのリクエスが可能になる。またJSで通知を許可したかの判別ができる。(JavaScript Push APIというのがある?)

  • 通知にはタップしたあとに遷移したいURLなどを含めることができる。(新しいタブで開くとかも指定できる?)
    image.png

  • 明示的なジェスチャーなしにプッシュを要求できない?

参考

https://developer.apple.com/videos/play/wwdc2022/10098/
https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/
https://webkit.org/blog/12945/meet-web-push/

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?