Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Universal Linksの実装方法と陥りがちな罠
Search
Kaito Kudo
October 22, 2024
Programming
1
280
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
76
App Storeにアプリをリリースした話
kaitokudou
0
30
Other Decks in Programming
See All in Programming
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
150
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
880
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
2
120
103 Early Hints
sugi_0000
1
250
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
890
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
5
840
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
暇に任せてProxmoxコンソール 作ってみました
karugamo
2
720
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Beyond ORM
77web
8
1.1k
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Code Review Best Practice
trishagee
65
17k
Scaling GitHub
holman
459
140k
It's Worth the Effort
3n
183
28k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
A Tale of Four Properties
chriscoyier
157
23k
The Language of Interfaces
destraynor
154
24k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
A designer walks into a library…
pauljervisheath
205
24k
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