$30 off During Our Annual Pro Sale. View Details »
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
PipeCDの歩き方
kuro_kurorrr
4
140
たのしいparse.y
ydah
2
100
社内活動の取り組み紹介 ~ スリーシェイクでこんな取り組みしてます ~
bells17
0
380
eBPF Deep Dive: Architecture and Safety Mechanisms
takehaya
12
1.2k
気をつけたい!Desktop対応で陥りやすい罠とその対策
goto_tsl
0
190
デザインパターンで理解するLLMエージェントの作り方 / How to develop an LLM agent using agentic design patterns
rkaga
11
2.8k
PaaSとSaaSの境目で信頼性と開発速度を両立する 〜TROCCO®︎のこれまでとこれから〜
gtnao
6
6.1k
かんたんデザイン編集やってみた~「完全に理解した」までの道のり~
morit4ryo
1
110
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
230
CSC305 Lecture 25
javiergs
PRO
0
110
.NET Conf 2024の振り返り
tomokusaba
0
190
.NET 9アプリをCGIとして レンタルサーバーで動かす
mayuki
1
750
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
410
A designer walks into a library…
pauljervisheath
204
24k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
240
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How to Ace a Technical Interview
jacobian
276
23k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
770
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
How to Think Like a Performance Engineer
csswizardry
21
1.2k
4 Signs Your Business is Dying
shpigford
181
21k
Six Lessons from altMBA
skipperchong
27
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