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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
greendrop
March 19, 2025
Technology
0
14
リンクからモバイルアプリを起動する技術
greendrop
March 19, 2025
Tweet
Share
More Decks by greendrop
See All by greendrop
GitHub Actions の設定を少しよくする
greendrop
0
27
知っててうれしい SQL について
greendrop
0
280
知っててうれしい HTTP Cookie を使ったセッション管理について
greendrop
1
280
知っててうれしいリレーショナルデータベースについて
greendrop
0
240
スマホアプリエンジニアでない方へ向けた、スマホアプリ開発に関連するトピック
greendrop
0
210
知っててうれしい HTTP について
greendrop
0
300
知っててうれしい HTTP キャッシュについて
greendrop
0
330
知っててうれしい HTTP Cookie について
greendrop
0
280
知っててうれしいデータベースについて
greendrop
0
290
Other Decks in Technology
See All in Technology
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
210
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
260
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
210
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
410
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
260
Greatest Disaster Hits in Web Performance
guaca
0
300
GitHub Copilot CLI を使いやすくしよう
tsubakimoto_s
0
110
生成AIと余白 〜開発スピードが向上した今、何に向き合う?〜
kakehashi
PRO
0
170
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
620
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
150
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
370
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
1
250
Featured
See All Featured
New Earth Scene 8
popppiees
1
1.5k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
WCS-LA-2024
lcolladotor
0
450
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
110
Accessibility Awareness
sabderemane
0
58
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.7k
The Invisible Side of Design
smashingmag
302
51k
Balancing Empowerment & Direction
lara
5
900
Unsuck your backbone
ammeep
671
58k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
Designing for humans not robots
tammielis
254
26k
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) ◦ ◦ × サードパーティサービ ス ◦ ◦ ◦
ご清聴ありがとうございました。