aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/manifest/related_applications
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/ru/web/manifest/related_applications
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/ru/web/manifest/related_applications')
-rw-r--r--files/ru/web/manifest/related_applications/index.html113
1 files changed, 113 insertions, 0 deletions
diff --git a/files/ru/web/manifest/related_applications/index.html b/files/ru/web/manifest/related_applications/index.html
new file mode 100644
index 0000000000..d2a9675c31
--- /dev/null
+++ b/files/ru/web/manifest/related_applications/index.html
@@ -0,0 +1,113 @@
+---
+title: related_applications
+slug: Web/Manifest/related_applications
+tags:
+ - Manifest
+ - Web
+ - related_applications
+translation_of: Web/Manifest/related_applications
+---
+<div>{{QuickLinksWithSubpages('/ru/docs/Web/Manifest')}}</div>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">Type</th>
+ <td><code>String</code></td>
+ </tr>
+ <tr>
+ <th scope="row">Mandatory</th>
+ <td>No</td>
+ </tr>
+ <tr>
+ <th scope="row">Example</th>
+ <td>
+ <pre class="brush: json no-line-numbers">
+"related_applications": [
+ {
+ "platform": "play",
+ "url": "https://play.google.com/store/apps/details?id=com.example.app1",
+ "id": "com.example.app1"
+ }
+]</pre>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<p>Поле <code>related_applications</code> field is an array of objects specifying native applications that are installable by, or accessible to, the underlying platform — for example, a native Android application obtainable through the Google Play Store. Предполагается, что такие приложения являются альтернативами веб-сайту манифеста, который предоставляет аналогичные/эквивалентные функции - как эквивалент нативного приложения.</p>
+
+<div class="blockIndicator note">
+<p><strong>Note:</strong> Разработчик может указать, что нативные приложения предпочтительнее, чем веб-приложение, установив значение <code>prefer_related_applications</code> в <code>true</code>.</p>
+</div>
+
+<h2 id="Пример">Пример</h2>
+
+<pre class="brush: json"><code>"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"
+ }
+]</code></pre>
+
+<h2 id="Значения">Значения</h2>
+
+<p>Объекты приложения могут содержать следующие значения:</p>
+
+<table>
+ <thead>
+ <tr>
+ <th scope="col">Свойство</th>
+ <th scope="col">Описание</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>platform</code></td>
+ <td>Платформа, на которой может быть найдено приложение. <a href="https://github.com/w3c/manifest/wiki/Platforms">List of available values</a></td>
+ </tr>
+ <tr>
+ <td><code>url</code></td>
+ <td>URL, по которому может быть найдено приложение.</td>
+ </tr>
+ <tr>
+ <td><code>id</code></td>
+ <td>ID, используемое для представления приложения на определенной платформе.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Specification">Specification</h2>
+
+<table class="fullwidth-table standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ <th scope="col">Feedback</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('Manifest', '#related_applications-member', 'related_applications')}}</td>
+ <td>
+ <p>{{Spec2('Manifest')}}</p>
+ </td>
+ <td>Initial definition.</td>
+ <td><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<div class="hidden">
+<p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+</div>
+
+<p>{{Compat("html.manifest.related_applications")}}</p>