This question is locked. New answers and comments are not allowed.
Hello,
I am trying to use the cordova screenshot plugin, but I can't make it work.
I have imported the plugin using Telerik documentation, but when I try to execute the following script:
navigator.screenshot.save(function (error, res) {
if (error) {
alert(error);
} else {
alert('ok', res.filePath);
}
}, 'jpg', 50, 'myScreenShot');
I get an error because navigator.sreenshot is undefined, so I guess that I didn't import the plugin correctly.
Is there a way to check if a custom plugin is correctly imported and loaded?
Thanks in advance,
Ángel