为什么SocialSharing插件不起作用(phonegap)

时间:2015-04-23 07:04:06

标签: cordova

我在html标签中使用按钮并在点击时编写脚本:

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);
            });
 }

点击按钮时会产生错误。

  

" E / Web控制台(1218):未捕获的TypeError:对象#没有   方法'分享'在file:///android_asset/www/index.html:42"

0 个答案:

没有答案
相关问题