Open Ngugs opened 9 years ago
you dont need any file in xdk just follow the instructions to add cordova plugin in xdk then add the code on button click no reference needed
Slightly off topic, but I have followed the instructions to add cordova plugins in xdk and have a few other plugins working fine but when I call
window.plugins.socialsharing.share(null, null, $("#qrCodeDisplay").find("img").attr("src"), null);
I get an error "Uncaught TypeError: Cannot read property 'socialsharing' of undefined ". I'm not sure what I've done wrong.
Hi guys, Am developing on Intel XDK. This is what I have done: 1) Copy the socialshare.js file to my project's js folder. 2) Reference the socialshare.js file in the head section of my index.html file. 3) Run the project. i get an error: Uncaught ReferenceError: require is not defined.
Note: The import plugin feature available on the XDK IDE does not achieve anything, that's why I downloaded the entire plugin folder from this page and extracted the socialshare.js file. Please help as I need to use this plugin.