Chromeapp转换为crx时无效

时间:2016-03-04 13:36:56

标签: android google-chrome-app google-chrome-arc

我有一个需要转换为chromeapp的Android应用程序。我使用chrome提供的ARC Welder做到了这一点,甚至认为在使用本地浏览器进行测试时它是有效的,谷歌不允许该应用程序可供Chrome浏览器用户使用,仅适用于具有Chrome操作系统的用户。

我和我的团队解决这个问题的答案是将文件夹应用程序转换为.crx并通过在chrome exensions选项卡中拖动.crx文件将其发送给用户进行安装,但我们不是确定应用程序在安装后无法正常工作,但如果我拖动原始文件夹以安装该应用程序可以正常工作。

你们有没有想过为什么会这样?我试图通过chrome网站,ruby和node.js命令行创建.crx文件,但它们都具有相同的效果。

这是manifest.json

的副本
{
  "name": "__MSG_extName__",
  "default_locale": "en",
  "manifest_version": 2,
  "version": "3.3440",
  "version_name": "2.0.4",
  "offline_enabled": true,
  "app": {
   "background": {
      "page": "app_main.html"
    }
  },
  "icons": {
    "16": "icon.png",
    "128": "icon.png"
  },
  "permissions": [
    "gcm",
    {"fileSystem": ["write"]},
    "unlimitedStorage",
    "notifications",
    "identity",
    "accessibilityFeatures.read",
    "https://clients2.google.com/",
    {"socket": ["tcp-connect", "tcp-listen", "udp-bind", "udp-send-to",     "resolve-host", "resolve-proxy"]},
    "identity.email",
    "alarms",
    "storage",
    "overrideEscFullscreen",
    "fullscreen"]
,
  "requirements": {
    "3D": {
      "features": ["webgl"]
    }
  },
  "kiosk_enabled": true,
  "import": [{"id": "mfaihdlpglflfgpfjcifdjdjcckigekc"}],
  "file_handlers": {},

    "arc_metadata": {
    "apkList": [
      "VivaDireito_livrariadigital_2.0.4.r1494.apk"
    ],
    "enableExternalDirectory": false,
    "formFactor": "tablet",
    "name": "Viva Direito",
    "orientation": "portrait",
    "packageName": "br.com.editoraviva.vivadireito",
    "resize": "reconfigure"
  }
}

0 个答案:

没有答案