Я пытаюсь установить размещенное приложение Ka iOS из моего упакованного приложения Ka iOS.
Ошибка:
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": [
"*"
],