[Screenshot Plugin] Doesn't load plugin

[Screenshot Plugin] Doesn't load plugin

  
Forge Component
(1)
Published on 2 Mar by Carlos Alfaro
1 vote
Published on 2 Mar by Carlos Alfaro

When I try to use it, it says that the plugin is not loaded. Is there a setting that I'm missing?

Using Service Studio 10.0.810.0.

Hello,

Are you using OutSystems Now? This plugin is not supported on OutSystems Now, only as a native app.

Thank you.

CA

I'm testing it on my android phone.  I've also tried to just wrap the cordova-screenshot plugin in a module in my project, but it wont' recognize the plugin either.  

https://github.com/gitawego/cordova-screenshot

For instance, this is always false 

$parameters.isAvailable = !!window.cordova && !!navigator.screenshot

although !!window.cordova is true.


This is the declaration I put in Extensibility Configurations

{
    "plugin" :{
        "url" : "https://github.com/gitawego/cordova-screenshot"
    }
}


Solution

I re-referenced the dependency, re-published my project, and then reinstalled it on my phone; looks like it is working now.  Sorry for the confusion.

Nice plug-in.

Solution

Hello again,

Thank you for your self-debugging work, it's great that you got it working!

If you kneed any more help, just ask.

CA