$30 off During Our Annual Pro Sale. View Details »

iOS 14 からの Universal Links

iOS 14 からの Universal Links

[Online] potatotips #72 iOS/Android開発Tips共有会 の発表資料です。
https://potatotips.connpass.com/event/194575/

Shota Kashihara

December 22, 2020
Tweet

More Decks by Shota Kashihara

Other Decks in Technology

Transcript

  1. ©2020 Wantedly, Inc.
    iOS 14 ͔Βͷ Universal Links
    potatotips#72
    Dec 22, 2020 - Shota Kashihara - Wantedly, Inc.

    View Slide

  2. ©2020 Wantedly, Inc.
    ⇡࠷ۙɺWantedly ͷϓϩϑΟʔϧ͕৽͘͠ͳΓ·ͨ͠ɻ
    ID ૣ͍΋ͷ͕ͪͳͷͰੋඇߋ৽͍ͯͩ͘͠͞

    View Slide

  3. ©2020 Wantedly, Inc.
    2"؀ڥͰ6OJWFSTBM-JOLT͕ಈ͔ͳ͍ʂ
    J04ͷ6OJWFSTBM-JOLTͷมߋ఺
    ݪҼͱճආࡦ
    Outline

    View Slide

  4. ©2020 Wantedly, Inc.
    QA ؀ڥͰ Universal Links ͕ಈ͔ͳ͍ʂ
    ͱ͋Δ೔ͷ͜ͱ
    10݄๭೔ʮQA൛ΞϓϦͷ؀ڥ͚ͩɺUniversal Links ͕
    ಈ͔ͳ͍ʯͱ͍͏ใࠂΛQA͞Μ͔Β΋Β͏
    ௐࠪͷ݁ՌɺiOS 14 x QA൛ͱ͍͏؀ڥ͚ͩ Universal
    Links ͕ಈ͍͍ͯͳ͍͜ͱ͕Θ͔ͬͨɻ
    6OJWFSTBM-JOLTͷಈ࡞֬ೝ݁Ռ
    ຊ൪ QA
    iOS 13 ✅ ✅
    iOS 14 ✅ ❌
    Introduction

    View Slide

  5. ©2020 Wantedly, Inc.
    QA ؀ڥͰ Universal Links ͕ಈ͔ͳ͍ʂ
    ProxyMan ͰΞϓϦΠϯετʔϧ࣌ͷ௨৴ϩάΛݟΔͱɺhttps://app-site-association.cdn-apple.com ʹରͯ͠Ϧ
    ΫΤετ͍ͯ͠Δ͜ͱ͕Θ͔ͬͨɻ
    ProxyMan ͷ௨৴ϩά
    Introduction

    View Slide

  6. ©2020 Wantedly, Inc.
    Universal Links ͷ มߋ఺
    iOS 13 to iOS 14

    View Slide

  7. ©2020 Wantedly, Inc.
    iOS 13 Ҏલͷ Universal Links
    iOS 14 ͷ Universal Links ͷมߋ఺
    https://xxx.wantedly.com/.well-known/apple-app-site-association
    https://xxx.wantedly.com/apple-app-site-association
    ᶃ ΞϓϦΛ୺຤ʹΠϯετʔϧ͢ΔͱɺΤϯλΠτϧϝϯτ ͷ applinks: ʹॻ͔Εͨ υϝΠϯ഑Լʹ௚઀ϦΫΤετ
    ͯ͠ AASA (apple-app-site-association) Λμ΢ϯϩʔυ
    ᶄ Universal Links ͕༗ޮԽ

    View Slide

  8. ©2020 Wantedly, Inc.
    iOS 14 ͷ Universal Links
    iOS 14 ͷ Universal Links ͷมߋ఺
    https://app-site-association.cdn-apple.com
    ᶃ ΞϓϦΛ୺຤ʹΠϯετʔϧ͢ΔͱɺΤϯλΠτϧϝϯτ ͷ applinks: ʹॻ͔Εͨ υϝΠϯͷ AASA (apple-app-
    site-association) Λ Apple CDN Λհͯ͠μ΢ϯϩʔυ
    ᶄ Universal Links ͕༗ޮԽ

    View Slide

  9. ©2020 Wantedly, Inc.
    Apple CDN ͱ͸
    iOS 14 ͷ Universal Links ͷมߋ఺
    Ҿ༻: https://developer.apple.com/videos/play/wwdc2020/10098
    ᶃ AASA ΛΩϟογϡ͓͖ͯ͠ɺ
    ୺຤͔ΒͷϦΫΤετ͕͋ͬͨΒߴ଎ʹσϦόϦ͢Δ
    Apple ͕༻ҙͨ͠࢓૊Έɻ
    ᶄ Apple ͷ Ϋϩʔϥ (bot) ͕ ֤ domain ͷ AASA
    Λऔಘͯ͠ΩϟογϡΛอଘͯ͠ճΔɻ
    ᶅ AASA ͸Ϋϩʔϥ͕ΞΫηεՄೳͳαΠτͰ͋Δ
    ඞཁ͕͋Δɻ
    ΋͏͓Θ͔ΓͰ͢Ͷʁ

    View Slide

  10. ©2020 Wantedly, Inc.
    ݪҼ
    QA؀ڥͰͷΈ Universal Links ͕࢖͑ͳ͔ͬͨϫέ
    ฐࣾͷҰ෦ QA ؀ڥ͸ IP ੍ݶΛ͍ͯͯ͠ɺڐՄ͞ΕͨIP
    ͔Β͔͠ϦΫΤετΛड͚෇͚͍ͯͳ͔ͬͨɻ
    ͦͷͨΊɺApple ͷ Ϋϩʔϥ ͔ΒͷϦΫΤετʹԠ͡
    ͣɺ AASA ͷΩϟογϡ͕ߦΘΕͳ͔ͬͨͨΊ
    Universal Links ͕ແޮʹͳ͍ͬͯͨɻ
    Ҿ༻: https://developer.apple.com/videos/play/wwdc2020/10098
    ·ͱΊ

    View Slide

  11. ©2020 Wantedly, Inc.
    ճආࡦ
    Ҿ༻: https://developer.apple.com/videos/play/wwdc2020/10098
    ·ͱΊ

    View Slide

  12. ©2020 Wantedly, Inc.
    Ҿ༻
    - What's new in Universal Links
    https://developer.apple.com/videos/play/wwdc2020/10098
    - Supporting Associated Domains
    https://developer.apple.com/documentation/safariservices/supporting_associated_domains?
    language=objc
    - iOS14 ʹ͓͚ΔUniversal Links ͷมߋ఺
    https://recruit.gmo.jp/engineer/jisedai/blog/ios14-universal-links/
    - iOS14Ͱඇެ։αʔόʔ͔ͭΦϨΦϨূ໌ॻͰUniversal LinksΛςετ͢Δํ๏
    https://qiita.com/saten_qiita/items/06c5a81105f6ada008ac

    View Slide