"Missing command error" in plug-and-screenshot

I am trying to take a screenshot in my cordova application. I am using https://github.com/gitawego/cordova-screenshot plugin.

  navigator.screenshot.save(function(error,res){
      if(error){
        console.error(error);
      }else{
        console.log('ok',res.filePath);
      }
    },'jpg',50);

      

console.error ('error') throws "Missing Command Error". Any help?

+3


source to share


1 answer


If you look at the plugin.xml file, you can see that this plugin only supports Android, IOS and OSX



+3


source







All Articles