Manifoldjs не внедряет скрипты в файл index.html, размещенный на сервере?

Вот мой manifest.json для проекта.

{
  "lang": "en",
  "name": "Test Manifold",
  "short_name": "TestManifold",
  "icons": [{
        "src": "icon/lowres",
        "sizes": "64x64",
        "type": "image/webp"
      }, {
        "src": "icon/hd_small",
        "sizes": "64x64"
      }, {
        "src": "icon/hd_hi",
        "sizes": "128x128",
        "density": 2
      }],
   "mjs_cordova": {
    "plugin_mode": "server",
    "base_url": "js/cordova"
  },
  "scope": "/",
  "start_url": "http://10.128.104.153:8888/Test/",
  "mjs_api_access": [
    { "match": "http://10.128.104.153:8888/Test/index.html", "platform": "android", "access": "cordova" }
  ],
  "mjs_import_scripts": [
    { "src": "http://10.128.104.153:8888/Test/js/index.js" },
    { "src": "http://10.128.104.153:8888/Test/js/test.js"}
  ],
  "display": "fullscreen",
  "orientation": "portrait",
  "theme_color": "aliceblue"
}

Я добавил cordova-android.js и cordova_plugins-android с помощью index.html в подкаталоге /cordova.

0 ответов

Другие вопросы по тегам