cordova - Why SocialSharing plugin not work (phonegap) -
i use button in html tag , write script on click:
function social_share() { window.plugins.socialsharing.share("blog post title","post summery",null,"http://qnimate.com",function(result){ alert('result: ' + result); }, function(result){ alert('error: ' + result); }); }
it generate error while clicking on button.
"e/web console(1218): uncaught typeerror: object # has no method 'share' @ file:///android_asset/www/index.html:42"