Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOS, iPadOSにもWeb Pushがきたのでさわってみた

iOS, iPadOSにもWeb Pushがきたのでさわってみた

ウィルゲート&リンケージ合同勉強会のLT資料です。

blue_goheimochi

April 28, 2023
Tweet

More Decks by blue_goheimochi

Other Decks in Technology

Transcript

  1. 5

  2. 6

  3. 11 Push Service Workers Notification Notification API • Web •

    ( ) • • • • PC MAX3 • Push Service Worker •
  4. 16 Service Worker API Notification Push Service Workers • •

    • • • API • https localhost •
  5. 22 Notification Push Service Workers Push API • Web •

    ( ) • (Service Worker) • • • Service Worker • https localhost Service Worker • Notification
  6. 24 Push API Android JS Service Worker Push 1 2

    3 6 4 5 FCM Firebase Cloud Messaging
  7. 32 PWA - Progressive Web Apps - • Web •

    • Service Worker • A2HS • • • • manifest.json, manifest.webmanifest PWA
  8. 33 PWA - Progressive Web Apps - { "background_color": "#000000",

    "name": "Web Notification Playground", "description": "Demo Web Push", "short_name": "WNP", "display": "standalone", "lang": "ja", "start_url": "/", "icons": [ { "src": "icon/192x192.png", "sizes": "192x192", "type": "image/png" } ] }
  9. 45 • iOS iPadOS Web Push • PWA • PWA

    • • iOS A2HS • Andorid iOS • •
  10. 47 • Notification API • https://notifications.spec.whatwg.org/ • Notifications API •

    https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API • Service Workers • https://www.w3.org/TR/service-workers/ • Service Worker API • https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API • Push API • https://www.w3.org/TR/push-api/ • Push API • https://developer.mozilla.org/en-US/docs/Web/API/Push_API
  11. 48 • Progressive web apps (PWAs) • https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps • Learn

    PWA • https://web.dev/learn/pwa/ • What are Progressive Web Apps? • https://web.dev/what-are-pwas/ • Making PWAs installable • https://developer.mozilla.org/en- US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable
  12. 49 • PWA iOS • https://speakerdeck.com/pkino/pwa-now-and-in-the-future-status- of-support-on-ios • iOS PWA

    Compatibility • https://firt.dev/notes/pwa-ios/ • PWA Progressive Web Apps • https://spice-factory.co.jp/development/what-is-pwa/