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
36
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
リンクからモバイルアプリを起動する技術
greendrop
March 19, 2025
More Decks by greendrop
See All by greendrop
gh skill コマンドで AI エージェントのスキルを一元管理・自動配布する
greendrop
0
37
GitHub Actions の設定を少しよくする
greendrop
0
47
知っててうれしい SQL について
greendrop
0
340
知っててうれしい HTTP Cookie を使ったセッション管理について
greendrop
1
340
知っててうれしいリレーショナルデータベースについて
greendrop
0
290
スマホアプリエンジニアでない方へ向けた、スマホアプリ開発に関連するトピック
greendrop
0
270
知っててうれしい HTTP について
greendrop
0
370
知っててうれしい HTTP キャッシュについて
greendrop
0
390
知っててうれしい HTTP Cookie について
greendrop
0
340
Other Decks in Technology
See All in Technology
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.4k
20260817_生成AIの動向と中学校・高等学校での活用を考える_v1.00_公開用
doradora09
PRO
0
140
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
360
平文パスワードはログに“残り” ── 肝心の侵入は“痕跡すら残らない”
kuroneko13
0
110
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
190
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
130
Head First モブプログラミング / Head First Mobprogramming
takaking22
10
12k
Android skills に学ぶ
kokiko
0
130
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
180
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
0
350
Featured
See All Featured
We Are The Robots
honzajavorek
0
300
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
480
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
660
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
220
Are puppies a ranking factor?
jonoalderson
2
3.8k
GraphQLとの向き合い方2022年版
quramy
50
15k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
870
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Designing for Performance
lara
611
70k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
A Modern Web Designer's Workflow
chriscoyier
698
190k
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) ◦ ◦ × サードパーティサービ ス ◦ ◦ ◦
ご清聴ありがとうございました。