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
46
Moya
agapovone
0
45
ARKit
agapovone
0
66
Reactive talk
agapovone
0
52
Other Decks in Programming
See All in Programming
XP, Testing and ninja testing ZOZ5
m_seki
3
600
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
160
チームの境界をブチ抜いていけ
tokai235
0
160
私はどうやって技術力を上げたのか
yusukebe
43
18k
いま中途半端なSwift 6対応をするより、Default ActorやApproachable Concurrencyを有効にしてからでいいんじゃない?
yimajo
2
400
CSC305 Lecture 04
javiergs
PRO
0
260
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
10
6.5k
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
550
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
0
200
明日から始めるリファクタリング
ryounasso
0
130
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2k
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
200
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
4.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
620
Six Lessons from altMBA
skipperchong
28
4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Being A Developer After 40
akosma
91
590k
Making Projects Easy
brettharned
119
6.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
The Language of Interfaces
destraynor
162
25k
The Straight Up "How To Draw Better" Workshop
denniskardys
237
140k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
A Tale of Four Properties
chriscoyier
160
23k
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