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
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
71
App Storeにアプリをリリースした話
kaitokudou
0
29
Other Decks in Programming
See All in Programming
Realtime API 入門
riofujimon
0
150
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
cmp.Or に感動した
otakakot
2
150
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
900
Remix on Hono on Cloudflare Workers
yusukebe
1
290
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
受け取る人から提供する人になるということ
little_rubyist
0
230
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
920
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Writing Fast Ruby
sferik
627
61k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
GitHub's CSS Performance
jonrohan
1030
460k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
How GitHub (no longer) Works
holman
310
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
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