Meroshini
Meroshini

Reputation: 71

'Missing command error' in cordova-screenshot plugin

I am trying to take 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?

Upvotes: 3

Views: 4272

Answers (1)

Matt
Matt

Reputation: 436

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

Upvotes: 3

Related Questions