Android CDVPlugin类SocialSharing(pluginName:SocialSharing)不存在

Android CDVPlugin类SocialSharing(pluginName:SocialSharing)不存在,android,ios,angularjs,ionic-framework,ngcordova,Android,Ios,Angularjs,Ionic Framework,Ngcordova,社交分享插件在Android中运行良好。但同样的代码显示了iOS设备中的以下错误 所有插件都已安装 错误: 插件com.skype.SkypeForiPad.sharingextension无效 2016-04-26 19:21:26.285爱村应用程序[id]已选择社交共享应用程序:(空) 代码: $scope.shareViaTwitter=function (title, source, link){ window.plugins.socialsharing.shareViaTw

社交分享插件在Android中运行良好。但同样的代码显示了iOS设备中的以下错误

所有插件都已安装

错误:

插件com.skype.SkypeForiPad.sharingextension无效 2016-04-26 19:21:26.285爱村应用程序[id]已选择社交共享应用程序:(空)

代码:

   $scope.shareViaTwitter=function (title, source, link){
  window.plugins.socialsharing.shareViaTwitter(title,
                                                  null /* img */,
                                                  link /* url */, 
                                                  source, 
                                                  function(errormsg){


        alertService.showAlert('You Have to install Twitter application to share this news')}
      //  alert("You Have to install Twitter application to share this news")}
                                                  );
 };

使用sudo执行所有爱奥尼亚和科尔多瓦命令。。。(行政长官特权)

  • sudo ionic插件添加[插件名称]

  • 苏多科尔多瓦酒店

  • 等等


使用sudo执行所有爱奥尼亚和科尔多瓦命令。。。(行政长官特权)

  • sudo ionic插件添加[插件名称]

  • 苏多科尔多瓦酒店

  • 等等


我也尝试过cordova构建iOS。。。但力工作…我也尝试过cordova构建iOS。。。但是力道不起作用……如果您必须在cordova的任何设备上运行sudo,那么您的环境配置不正确。特别是你的节点目录权限。这很好,但是如果你的环境需要sudo,那么它的配置是错误的。来源于npm文档:如果您必须在cordova的任何设备上运行sudo,则您的环境配置不正确。特别是你的节点目录权限。这很好,但是如果你的环境需要sudo,那么它的配置是错误的。来源于npm文件: