related_applications
型 | 配列 (Array ) |
---|---|
必須 | はい |
related_applications
フィールドはオブジェクトの配列で、基礎となるプラットフォームにインストール可能、またはアクセス可能なネイティブアプリケーション — たとえば、 Google Play ストアで入手可能なネイティブの Android アプリケーションなどを指定します。このようなアプリケーションは、ネイティブアプリの同等品のように、同様または同等の機能を提供するマニフェストのウェブサイトの代替品となることを意図しています。
メモ:
開発者は prefer_related_applications
に true
を設定することで、ネイティブアプリケーションがウェブアプリケーションよりも推奨されることを示すことができます。
例
json
"related_applications": [
{
"platform": "play",
"url": "https://play.google.com/store/apps/details?id=com.example.app1",
"id": "com.example.app1"
}, {
"platform": "itunes",
"url": "https://itunes.apple.com/app/example-app1/id123456789"
}
]
関連アプリケーションの値
アプリケーションオブジェクトには、次の値を入れることができます。
メンバー | 説明 |
---|---|
platform |
アプリケーションを見つけることができるプラットフォームです。利用できる値の一覧 |
url |
アプリケーションを見つけることができる URL です。 |
id |
指定されたプラットフォームでアプリケーションを表す ID です。 |
仕様書
Specification |
---|
Web Application Manifest # related_applications-member |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
related_applications |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.