0
我试图按照教程例子中的离子与线离子社会共享是未定义
window.plugins.socialsharing.shareWithOptions(options, onSuccess, onError);
,但我不断收到
ionic.bundle.js:20306 TypeError: Cannot read property 'socialsharing' of undefined
我想我缺少的app.js
东西,包括图书馆?
angular.module('starter', ['ionic','leaflet-directive', 'ngCordova', ... ?
我是否需要在上述行中加载它? 我是否必须将它作为模块加载到控制器中?我没有发现在教程中,它不明确?
我试过cordova plugin add
多次,无论是作为包名,或通过混帐