I've been using Web Intents to find my application in Chrome Web Store.
That is the script that invoked the intent:
var shareBtn = document.getElementById("shareBtn");
shareBtn.style.visibility = "visible";
shareBtn.addEventListener("click", function() {
window.navigator.startActivity(intent);
}, false);
Here's the part of the manifest.json:
"intents": {
{
"type": ["application/vnd.google.drive.ext-type.lvz"],
"href": "base64_html1.html",
"title" : "Base64",
"disposition" : "window"
}
]
},
"nacl_modules" : [{
"path": "glibc/base64.nmf",
"mime_type": "application/vnd.google.drive.ext-type.lvz"
}],
When I'm trying to launch my app with "file" protocol, I get this type of error:
in webintents-server.js
When I'm trying to use "http" protocol (localhost) I get this:
in the same file.
My code worked like 3-5 days ago, but now it doesn't.
Can anyone share if they had such an error or help to solve this problem?