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
リンクからモバイルアプリを起動する技術
Search
greendrop
March 19, 2025
Technology
0
7
リンクからモバイルアプリを起動する技術
greendrop
March 19, 2025
Tweet
Share
More Decks by greendrop
See All by greendrop
GitHub Actions の設定を少しよくする
greendrop
0
19
知っててうれしい SQL について
greendrop
0
210
知っててうれしい HTTP Cookie を使ったセッション管理について
greendrop
1
220
知っててうれしいリレーショナルデータベースについて
greendrop
0
190
スマホアプリエンジニアでない方へ向けた、スマホアプリ開発に関連するトピック
greendrop
0
160
知っててうれしい HTTP について
greendrop
0
250
知っててうれしい HTTP キャッシュについて
greendrop
0
240
知っててうれしい HTTP Cookie について
greendrop
0
220
知っててうれしいデータベースについて
greendrop
0
220
Other Decks in Technology
See All in Technology
Model Mondays S2E04: AI Developer Experiences
nitya
0
140
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
6
2.4k
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
390
fukabori.fm 出張版: 売上高617億円と高稼働率を陰で支えた社内ツール開発のあれこれ話 / 20250704 Yoshimasa Iwase & Tomoo Morikawa
shift_evolve
PRO
2
7.9k
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
310
「クラウドコスト絶対削減」を支える技術—FinOpsを超えた徹底的なクラウドコスト削減の実践論
delta_tech
4
170
マネジメントって難しい、けどおもしろい / Management is tough, but fun! #em_findy
ar_tama
7
1.1k
Operating Operator
shhnjk
1
590
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
230
生成AI開発案件におけるClineの業務活用事例とTips
shinya337
0
260
Geminiとv0による高速プロトタイピング
shinya337
1
270
Claude Code に プロジェクト管理やらせたみた
unson
6
4.2k
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Thoughts on Productivity
jonyablonski
69
4.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Writing Fast Ruby
sferik
628
62k
Docker and Python
trallard
44
3.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
A Tale of Four Properties
chriscoyier
160
23k
How GitHub (no longer) Works
holman
314
140k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Code Reviewing Like a Champion
maltzj
524
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Transcript
リンクからモバイルアプリを起動する 技術 2024/11/29 社内 LT 会
スマホでリンクをタップすると、 アプリが起動しますよね?
どのような技術が使われているか、 知ってますか?
目次 Custom URL Scheme App Links (Android), Universal Links (iOS)
サードパーティサービスの利用 まとめ
Custom URL Scheme とは モバイルアプリが提供する独自の URL スキーム モバイルアプリで myapp のような
URL スキームを登録すること で、他のアプリや Web サイトからアプリを起動ができる <a href="myapp://">アプリを起動</a> Custom URL Scheme
Custom URL Scheme の注意点 モバイルアプリがインストールされていない場合、リンクをタップ しても何も起きない モバイルアプリの設定だけで実現できるため、同じ URL スキームを 複数のアプリが使用すると競合し、乗っ取ることもできる
https://developers.line.biz/ja/news/2020/03/25/line-url- scheme-deprecation/ Custom URL Scheme
App Links (Android), Universal Links (iOS) と は モバイルアプリが提供する URL
スキームを Web サイトのドメイン に紐づける仕組み モバイルアプリがインストールされている場合、モバイルアプリが 起動される モバイルアプリがインストールされていない場合、Web サイトに遷 移する <a href="https://example.com/">アプリを起動</a> App Links (Android), Universal Links (iOS)
App Links (Android), Universal Links (iOS) と は 該当の Web
サイトに assetlinks.json または apple-app-site-association ファイルを配置することが必要 https://line.me/.well-known/assetlinks.json https://line.me/.well-known/apple-app-site-association App Links (Android), Universal Links (iOS)
App Links (Android), Universal Links (iOS) と は Apps Link
(Android) https://developer.android.com/training/app-links?hl=ja Universal Links (iOS) https://developer.apple.com/documentation/xcode/allowing- apps-and-websites-to-link-to-your-content/ App Links (Android), Universal Links (iOS)
Universal Links (iOS) の注意点 ブラウザに直接 URL を入力してもアプリが起動しない 同じドメインの内の遷移ではアプリが起動しない 例: https://example.com/web
から https://example.com/app_open ではアプリが起動しない リダイレクトや JavaScript での遷移ではアプリが起動しないことも ある ユーザーによる操作が重要 https://blog.nnn.dev/entry/2024/02/08/110000 App Links (Android), Universal Links (iOS)
アプリが未インストールのとき、 ストアに遷移したこともあるよ
サードパーティサービスの利用 サードパーティサービスを利用することで、アプリが未インストール のときにストアへ遷移できます。 Firebase Dynamic Links (2025/8/25 でサービス終了) 無料 Adjust,
AppsFlyer, Branch, Kochava ( ほぼ) 有料 など。
まとめ 技術 アプリ起 動 未インストー ル Web へ遷移 未インストー ル
ストアへ遷移 Custom URL Scheme △ × × App Links (Android) ◦ ◦ × Universal Links (iOS) ◦ ◦ × サードパーティサービ ス ◦ ◦ ◦
ご清聴ありがとうございました。