please find the screenshots below, I have all the steps mentioned there in details already since last couple of weeks
Added the JS file
Changed cordova_plugins.js as below
Added the java file as below
Changed the config.xml as below
Invoking the plugin in two ways as follows
$.getScript('resources/lib/cordova.js', function() {
var socialsharing = cordova.require("nl.xservices.plugins.socialsharing");
//socialsharing.share('Just a trial Message only');
window.socialsharing.share('Just a trial Message only');
socialsharing.share('Just a trial Message only');
});