Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
リンクからモバイルアプリを起動する技術
Search
greendrop
March 19, 2025
Technology
51
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
リンクからモバイルアプリを起動する技術
greendrop
March 19, 2025
Transcript
14 slides
リンクからモバイルアプリを起動する 技術 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) ◦ ◦ × サードパーティサービ ス ◦ ◦ ◦
ご清聴ありがとうございました。
More Decks by greendrop
See All by greendrop
gh skill コマンドで AI エージェントのスキルを一元管理・自動配布する
greendrop
0
60
GitHub Actions の設定を少しよくする
greendrop
0
56
知っててうれしい SQL について
greendrop
0
370
知っててうれしい HTTP Cookie を使ったセッション管理について
greendrop
1
370
知っててうれしいリレーショナルデータベースについて
greendrop
0
320
スマホアプリエンジニアでない方へ向けた、スマホアプリ開発に関連するトピック
greendrop
0
310
知っててうれしい HTTP について
greendrop
0
400
知っててうれしい HTTP キャッシュについて
greendrop
0
430
知っててうれしい HTTP Cookie について
greendrop
0
380
Other Decks in Technology
See All in Technology
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
190
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
190
kubellの最新データ分析環境
kubell_hr
2
250
Terraform 0 to 100:100個以上のリポジトリを常に最新にし続けるための自動化
sue445
3
1.4k
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
300
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
420
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
230
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
640
現地速報! Microsoft Ignite アップデートレポート
kasada
1
450
ノードが消える前提で設計する!Karpenterで金融システムを止めないためのノウハウ大全
daitak
1
220
E2E Test というハーネス — AI時代の自動テスト民主化
daishukojima
10
6k
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
0
290
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
Designing for Performance
lara
612
70k
Visualization
eitanlees
153
17k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Between Models and Reality
mayunak
4
600
Art, The Web, and Tiny UX
lynnandtonic
304
22k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Practical Orchestrator
shlominoach
192
12k