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
Agapov Alex
August 04, 2017
Programming
0
34
Universal Links
Saritasa team meeting
Agapov Alex
August 04, 2017
Tweet
Share
More Decks by Agapov Alex
See All by Agapov Alex
React Native talk
agapovone
1
29
MVVM
agapovone
0
47
Moya
agapovone
0
46
ARKit
agapovone
0
67
Reactive talk
agapovone
0
52
Other Decks in Programming
See All in Programming
Docコメントで始める簡単ガードレール
keisukeikeda
1
110
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
830
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
170
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
130
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
400
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
170
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.5k
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
240
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
320
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
130
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
250
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
120
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
5.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Documentation Writing (for coders)
carmenintech
77
5.3k
A better future with KSS
kneath
240
18k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
210
Practical Orchestrator
shlominoach
191
11k
How STYLIGHT went responsive
nonsquared
100
6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
100
Crafting Experiences
bethany
1
81
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
78
Transcript
Universal Links You won’t need schemes:// anymore (not really)
Setup
Setup Mobile Web + 1. Associated domains 2. AppDelegate’s application(_:continue:restorationHandler:)
1. File apple-app-site-association at root 2. Manageable {Team ID}.{App Bundle ID} and path
Setup Associated domains ON Domain example: applinks:{hostname}
Setup AppDelegate’s conformance to method func application(_ application: UIApplication, continue
userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { guard userActivity.activityType == NSUserActivityTypeBrowsingWeb, let url = userActivity.webpageURL else { return false } return false }
Setup apple-app-site-association file (no extension) appID: {Team ID}.{App Bundle ID}
paths: “*”, “/“, “post/*” { "applinks": { "apps": [], "details": [ { "appID": "97CJYDC5AL.com.saritasa.test.UniversalLinks", "paths": ["*", "/"] } ] } }
Test
Test 1. Open link from outside (i.e. Telegram) won’t work
if it’s link inside app 2. Tap on top button to enter this page in-app 3. App opens on defined page :)
Pro’s & Con’s
+ – Pro’s & Con’s 1. Needs button tap to
move into app 2. Still needs full web-app support (like schemes) 1. Configurable pages: i.e. multiple content, help/faq/home 2. Supports http:// https:// (doesn’t need new schemes) Con’s Pro’s
The End. Saritasa