I can’t load the plugins in android. I have added the plugin to the plugins.xml list, have added the java code in my project. But still when I call window.plugins I get undefined object. Why is this happening? BTW I’m trying to use the share plugin – https://github.com/phonegap/phonegap-plugins/tree/master/Android/Share
Just to be clear, I have added the phonegap.js file and the share.js file containing the JS plugin code. Also I have used the EmailComposer plugin for iphone with same code and it works on iphone, i.e. on iphone the window.plugins object it isn’t undefined.
I fixed the exact same issue after noticing… i forgot to reference phonegap-1.1.0.js in my html. I also had to uncomment PhoneGap.addPlugin(‘share’, new Share()); in share.js.