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
24
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
22
MVVM
agapovone
0
40
Moya
agapovone
0
38
ARKit
agapovone
0
53
Reactive talk
agapovone
0
45
Other Decks in Programming
See All in Programming
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.5k
VS Code をプロダクトにどう取り込むか
onomax
1
690
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
530
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1k
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
1.8k
敵対的ポイフル
futabato
0
130
見た目から始める生産性向上
ikumatadokoro
10
1.4k
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
470
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.4k
業務ツールとして使うPostman
msys75
0
100
AppRouter Panel Talk
yosuke_furukawa
PRO
1
460
Elm Form Validation
bkuhlmann
0
510
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
30
6.4k
GraphQLの誤解/rethinking-graphql
sonatard
55
9.3k
Faster Mobile Websites
deanohume
300
30k
Teambox: Starting and Learning
jrom
128
8.4k
A designer walks into a library…
pauljervisheath
201
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
Bash Introduction
62gerente
605
210k
The Cult of Friendly URLs
andyhume
74
5.7k
The Invisible Customer
myddelton
114
12k
Automating Front-end Workflow
addyosmani
1357
200k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
The Language of Interfaces
destraynor
151
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