summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/app_remoting/manifest_common.json.jinja2
blob: 3f1884ec8d1589d1125d6ecdb6d11af4b2c22294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  {{ MANIFEST_KEY_FOR_UNOFFICIAL_BUILD }}
  "name": "{{APP_NAME}}",
  "description": "{{APP_DESCRIPTION}}",
  "version": "{{ FULL_APP_VERSION }}",
  "manifest_version": 2,
  "default_locale": "en",
  "app": {
    "background": {
      "scripts": ["ar_background.js", "platform.js"]
    }
  },
  "icons": {
    "128": "icon128.png",
    "48": "icon48.png",
    "16": "icon16.png"
  },
  "optional_permissions": [
    "<all_urls>"
  ],
  "permissions": [
    "{{ APP_REMOTING_API_BASE_URL }}/*",
    "{{ DIRECTORY_API_BASE_URL }}/*",
    "{{ OAUTH2_ACCOUNTS_HOST }}/*",
    "{{ OAUTH2_API_BASE_URL }}/*",
    "{{ TALK_GADGET_HOST }}/talkgadget/*",
    "app.window.shape",
    "clipboardRead",
    "clipboardWrite",
    "contextMenus",
    "fileSystem",
    "fullscreen",
    "https://relay.google.com/*",
    "identity",
    "metricsPrivate",
    "pointerLock",
    "storage",
    {
      "socket": [
        "udp-send-to",
        "udp-bind",
        "udp-multicast-membership",
        "resolve-host",
        "network-state"
      ]
    }
  ],
  "sockets": {
    "tcp": {
      "connect": "{{ XMPP_SERVER }}"
    }
  },
  "oauth2": {
    "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}",
    "scopes": [
      {{ OAUTH_GDRIVE_SCOPE }}
      "https://www.googleapis.com/auth/appremoting.runapplication",
      "https://www.googleapis.com/auth/googletalk",
      "https://www.googleapis.com/auth/userinfo#email",
      "https://www.googleapis.com/auth/userinfo.profile"
    ]
  },
  "sandbox": {
    "pages": [ "wcs_sandbox.html" ]
  }