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
20
知っててうれしい SQL について
greendrop
0
220
知っててうれしい HTTP Cookie を使ったセッション管理について
greendrop
1
220
知っててうれしいリレーショナルデータベースについて
greendrop
0
190
スマホアプリエンジニアでない方へ向けた、スマホアプリ開発に関連するトピック
greendrop
0
170
知っててうれしい HTTP について
greendrop
0
250
知っててうれしい HTTP キャッシュについて
greendrop
0
250
知っててうれしい HTTP Cookie について
greendrop
0
220
知っててうれしいデータベースについて
greendrop
0
230
Other Decks in Technology
See All in Technology
【CEDEC2025】『Shadowverse: Worlds Beyond』二度目のDCG開発でゲームをリデザインする~遊びやすさと競技性の両立~
cygames
PRO
1
160
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
210
大規模イベントを支える ABEMA の アーキテクチャ 変遷 2025
nagapad
5
580
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
380
CSPヘッダー導入で実現するWebサイトの多層防御:今すぐ試せる設定例と運用知見
llamakko
1
280
【Λ(らむだ)】最近のアプデ情報 / RPALT20250729
lambda
0
180
人と生成AIの協調意思決定/Co‑decision making by people and generative AI
moriyuya
0
220
AI駆動開発 with MixLeap Study【大阪支部 #3】
lycorptech_jp
PRO
0
280
AI エンジニアの立場からみた、AI コーディング時代の開発の品質向上の取り組みと妄想
soh9834
8
620
データエンジニアがクラシルでやりたいことの現在地
gappy50
3
780
AI時代の経営、Bet AI Vision #BetAIDay
layerx
PRO
0
330
少人数でも回る! DevinとPlaybookで支える運用改善
ishikawa_pro
5
2k
Featured
See All Featured
BBQ
matthewcrist
89
9.8k
Art, The Web, and Tiny UX
lynnandtonic
301
21k
The Cost Of JavaScript in 2023
addyosmani
51
8.7k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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) ◦ ◦ × サードパーティサービ ス ◦ ◦ ◦
ご清聴ありがとうございました。