In this <a href="http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins#CatchaboutdifferentPlatforms" rel="nofollow">article here</a>, I quote:<blockquote>
Well it depends on what version of PhoneGap/Apache Cordova you are using. In previous version the PhoneGap.exec() method signature was different between iOS and Android. As of 1.7.0 and probably as early as 1.5.0 the method signature is the same. You should be able to use the same .js file for your plugin regardless of the platform you are running on.
cordova.exec(success, fail, service, action, args);
I will create an issue to clean up the wiki instructions.