[英]Can't share image from dataDirectory via SocialSharing-PhoneGap-Plugin
[英]ionic unable to add SocialSharing-PhoneGap-Plugin
我正在嘗試在我的第一個應用程序開發中使用SocialSharing-PhoneGap-Plugin https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#web-share-api
我試過以下命令:
cordova插件添加SocialSharing-PhoneGap-Plugin
cordova插件添加https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
某些插件可以安裝在cordova的特定版本中。
因此,請降級您的cordova版本,然后嘗試重新安裝該插件。
如果您的cordova版本為7+,則降級為6.5.0
npm install -g cordova@6.5.0
插件名稱區分大小寫,因此正確的名稱是:
cordova插件rm cordova-plugin-x-socialsharing
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.