Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Universal Linksの実装方法と陥りがちな罠
Search
Kaito Kudo
October 22, 2024
Programming
1
260
Universal Linksの実装方法と陥りがちな罠
potatotips #89の登壇資料
Kaito Kudo
October 22, 2024
Tweet
Share
More Decks by Kaito Kudo
See All by Kaito Kudo
iOSDC Japan 2022 スポンサーセッション
kaitokudou
0
1.4k
iOS勉強会資料
kaitokudou
0
73
App Storeにアプリをリリースした話
kaitokudou
0
30
Other Decks in Programming
See All in Programming
Serverless苦闘史
mosh_inc
0
140
HTTP compression in PHP and Symfony apps
dunglas
2
1.2k
最新TCAキャッチアップ
0si43
0
250
Criando Commits Incríveis no Git
marcelgsantos
1
130
MoQとか勉強会#2 発表資料
yuki_uchida
2
160
物流システムにおけるリファクタリングとアーキテクチャの再構築 〜依存関係とモジュール分割の重要性〜
deeprain
1
300
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
150
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
650
あれやってみてー駆動から成長を加速させる / areyattemite-driven
nashiusagi
1
130
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
150
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
150
我々のデザインシステムは Chakra v3 にアップデートします
shunya078
2
2.8k
Featured
See All Featured
Designing Experiences People Love
moore
138
23k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
The World Runs on Bad Software
bkeepers
PRO
65
11k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
1
77
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
94
17k
KATA
mclloyd
29
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Fireside Chat
paigeccino
34
3.1k
Being A Developer After 40
akosma
87
590k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
2024/10/23 Kudokai potatotips #89 Universal Linksͷ࣮ํ๏ͱ ؕΓ͕ͪͳ᠘
ࣗݾհ גࣜձࣾΏΊΈ/͘Ͳ͔͍ 20224݄ iOSΤϯδχΞͱͯ͠ΏΊΈೖࣾ iOSΞϓϦ։ൃΛ୲ɻ ࠷ۙFlutter৮Γ࢝Ίͨɻ ˏkudokai00 ˏKaitoKudou ݸਓ։ൃ࣮ ݮञࢧԉΞϓϦʮAlconʯ
https://apps.apple.com/jp/app/alcon/id1571071417 ೫ࡔ46८ྱΞϓϦʮͷ͗ϥϦʔʯ https://apps.apple.com/jp/app/ͷ͗ϥϦʔ/id6501994754 2
Universal LinksΛ࣮Λͨ͜͠ͱ͋Γ·͔͢ʁ 3
Universal Linksͱ • WebαΠτͷϦϯΫΛΫϦοΫ → iOSΞϓϦΛىಈ • WebαΠτΛܦ༝͢Δ͜ͱͳ͘ɺɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ ΞϓϦͷίϯςϯπʹϦϯΫՄೳ •
ΞϓϦ༗ແʹΑͬͯભҠઌ͕ҟͳΔ ‣ ΠϯετʔϧࡁΈɿiOSΞϓϦΛىಈ ‣ ະΠϯετʔϧɿσϑΥϧτͷWebϒϥβͰϦϯΫΛ։͘ 4
Universal LinksͷΈ 5
Universal Linksͷ࣮ํ๏ • αʔόʔଆ/ΞϓϦଆͰରԠ͕ඞཁ 6
Universal Linksͷ࣮ํ๏(αʔόʔ) • apple-app-site-association(AASA)Λ༻ҙ(֦ுࢠ͚ͭͳ͍ʂ) • ҎԼͷURLʹϗετ ‣ ‘https://example.com/.well-known/apple-app-site-association' 7
Universal Links ͷ࣮ํ๏ (αʔόʔ) • AASAͷॻ͖ํ https://developer.apple.com/documentation/xcode/supporting-associated-domains 8
Universal Links ͷ࣮ํ๏ (αʔόʔ) • AASAͷॻ͖ํ https://developer.apple.com/documentation/xcode/supporting-associated-domains 🤔 9
Universal Links ͷ࣮ํ๏ (αʔόʔ) • AASAͷॻ͖ํ https://developer.apple.com/documentation/xcode/supporting-associated-domains 10
Universal Linksͷ࣮ํ๏(αʔόʔ) 1. ࠷্ҐʹapplinksΛஔ 2. applinksԼʹdetailsΛྻͰஔ 3. appIDsʹରͷApp IDΛهࡌ 11
Universal Links ͷ࣮ํ๏ (αʔόʔ) • AASAͷॻ͖ํ https://developer.apple.com/documentation/xcode/supporting-associated-domains 12
Universal Linksͷ࣮ํ๏(αʔόʔ) 1. componentsྻͷதʹରͷύε/ΫΤϦΛهࡌ 2. “/”ରͷύε 3. “?”ରͷΫΤϦ 13
Universal Linksͷ࣮ํ๏(ΞϓϦ) • Associated Domains ͷՃ • ‘applinks:<fully quali fi
ed domain>’ͷܗࣜͰࢦఆ 14
Universal Linksͷ࣮ํ๏(ΞϓϦ) • ىಈ࣌ͷϋϯυϦϯά 15
࣮࣌ͷ᠘ ͦͷ1 • Safari ͷΞυϨεόʔʹ URL Λೖྗͯ͠ ɹɹɹɹɹɹɹɹɹ Universal Links
ػೳ͠ͳ͍ʂ https://developer.apple.com/jp/documentation/technotes/tn3155-debugging-universal-links/ 16
࣮࣌ͷ᠘ ͦͷ2 • TestFlight Ͱ͢Δ߹ɺ͙͢ʹ AASA ͕ʹμϯϩʔυ ͞ΕΔ༁Ͱͳ͍ • λΠϜϥά͕͋ΔΒ͍͠
• ࠓͷॴɺղܾࡦແ͠ 17 https://forums.developer.apple.com/forums/thread/108339
☕ 18
࣮࣌ͷ᠘ ͦͷ3 • ಉҰυϝΠϯͷϒϥβભҠͩͱϢχόʔαϧϦϯΫ͕ػೳ͠ͳ͍ 19 https://developer.apple.com/documentation/technotes/tn3155-debugging-universal-links#Use-universal-links-on-your-site
͜ΕͰUniversal LinksΛ࣮Ͱ͖Δͧʂ🎉👏 20
https://techbookfest.org/event/tbf17 21
·ͱΊ ࣮࣌ͷ᠘ • ϒϥβʹURLΛೖྗͯ͠Universal Linksػೳ͠ͳ͍ • TestFlightͷ߹ɺʹAASA͕μϯϩʔυ͞ΕΔ·ͰʹλΠϜϥά͕͋Δ • ಉҰυϝΠϯͷϒϥβભҠͩͱUniversal Links͕ػೳ͠ͳ͍
Universal Linksͱ • WebαΠτΛܦ༝͢Δ͜ͱͳ͘ɺΞϓϦͷίϯςϯπʹϦϯΫՄೳ ‣ ΠϯετʔϧࡁΈɿiOSΞϓϦΛىಈ ‣ ະΠϯετʔϧɿσϑΥϧτͷWebϒϥβͰϦϯΫΛ։͘ 22
ࢀߟจݙ • https://developer.apple.com/jp/documentation/technotes/tn3155-debugging- universal-links/ • https://developer.apple.com/documentation/xcode/supporting-associated-domains • https://developer.apple.com/videos/play/wwdc2020/10098/ • https://developer.apple.com/videos/play/wwdc2019/717/
• https://forums.developer.apple.com/forums/thread/108339 • https://developer.apple.com/documentation/xcode/preparing-your-app-to-be-the- default-browser#Adhere-to-browser-restrictions 23