we are using firebreath 2.0. while trying to create a plugin object we are getting the error "Host Disconnected"
on calling asynchronous function helper.create(mimetype).then() , getting the error function callback with error "Host Disconnected"
please find the below code snippet.:
===========================================================================================
//Using the wyrmholeFactory we create a wyrmhole.
helper.create(mimetype).then(
function (wyrmhole) {
//With the created wyrmhole we instantiate a new FireWyrmJS object that will allow us to create the plugin.
var FWJS = window.FireWyrmJS;
//Creating pluginFactory that will allow the Plugin creation.
window.pluginFactory = new FWJS(wyrmhole);
pluginFactory.create(mimetype, {/*some params*/}).then(
function (pluginObj) {
kodiakplugin = pluginObj;
console.log('Chrome/FireFox Plugin Object Created');
OnLoadSuccessCB();
},
function (error) {
console.log('An Unexpected Error has occurred: ', error);
OnLoadErrorCB(SETUPSTATUS.PLUGIN_NOT_INSTALLED);
});
}, function (error) {
console.log('An Unexpected Error has occurred: ', error);
OnLoadErrorCB(SETUPSTATUS.PLUGIN_NOT_INSTALLED);
});
===================================================================================================
we are using the french OS, OS version is windows 10.
"Host Disconnect " error we are observing in french OS systems, in English OS we are not observing any error, plugin object is creating successfully.
Thanks for your support in Advance.
yugandhar saadili.