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
270
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
php-conference-japan-2024
tasuku43
0
330
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
3
310
たのしいparse.y
ydah
3
120
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
560
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
140
Zoneless Testing
rainerhahnekamp
0
120
MCP with Cloudflare Workers
yusukebe
2
220
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
490
useSyncExternalStoreを使いまくる
ssssota
6
1.2k
Jakarta EE meets AI
ivargrimstad
0
260
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
100
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
7
1.4k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Automating Front-end Workflow
addyosmani
1366
200k
Practical Orchestrator
shlominoach
186
10k
A designer walks into a library…
pauljervisheath
205
24k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Building Adaptive Systems
keathley
38
2.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Rails Girls Zürich Keynote
gr2m
94
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
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