KaiOS:无法从打包的应用程序内部安装托管的应用程序

我正在尝试从打包的KaiOS应用程序内部安装托管的KaiOS应用程序。

错误:

error: DOMError
message: ""
name: "BACKGROUND_APP"

代码:

var manifestLocation = 'http://localhost:3000/manifest.webapp'; // your domain here
console.log(manifestLocation);
var installRequest = navigator.mozApps.install(manifestLocation);
console.log(installRequest);
installRequest.onsuccess = function (data) {
  console.log(data);
  alert('App installed successfully!');
};

installRequest.onerror = function (e) {
  console.log(e);
  // App couldn't be installed!
  alert('Install error!');
};

父母在清单中有

"type": "certified","installs_allowed_from": [
  "*"
],
iCMS 回答:KaiOS:无法从打包的应用程序内部安装托管的应用程序

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2252201.html

大家都在问