I can't for the life of me get MochaJSDelegate to work in my plugin. I have it listed as a dependency in my package, but even when I think I have it all set up I still get this error:
ReferenceError: Can't find variable: MochaJSDelegate
"promiseReactionJob [native code]@undefined;undefined"
The README for MochaJSDelegate is pretty unhelpful. I am following this tutorial:
and trying to evaluate a script on my WebView, that is passed from my plugin. The only difference is the @import wouldn't work, so I changed it to: