The problem was the structure of the widget js. It was using require instead of define. I have updated the widget on github and will now publish a new release to the appstores now for you.
You can see my changes here:
There are a couple of widgets which use jQuery. You can take a look at them and see how they do it.
For example: https://github.com/mendix/HTMLSnippet
require(["MyWidget/lib/jquery"], lang.hitch(this, this.FunctionWhereIdoSomethingWithJqeury));
Are you using this widget?
If so you may need to change the require statements in here:
We have tried by using this in index.HTML:
But when we deploy to the cloud, it's conflicting (not in local) with a different jquery of another widget (CK Editor). It Works fine locally (weird)
There seems to be a conflict at bundling, since we have many jQuery script files, but we're forcing one of them in the index.HTML
Once we have enabled bundling local, we have got the same issue as in the cloud.
The problem is that if we don't forcé the JS files to load in index.HTML, the widget is not working as the scripts have not been loaded when the widget is called.
If we run the JS latter from the console, it Works fine.