Ekoar
Ekoar

Reputation: 481

ionic unable to add SocialSharing-PhoneGap-Plugin

I am trying to use SocialSharing-PhoneGap-Plugin in my first app development, https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#web-share-api

I have tried following command :

cordova plugin add SocialSharing-PhoneGap-Plugin

cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git

but It gives me same error , Anyone know what the problem is? enter image description here

Upvotes: 0

Views: 536

Answers (2)

raj peer
raj peer

Reputation: 728

Some plugins can install in specific versions of cordova.

so please downgrade your cordova version and try to install that plugin again.

if your cordova version is 7+, downgrade to 6.5.0

npm install -g [email protected]

Upvotes: 2

Joerg
Joerg

Reputation: 3101

The plugin name is case sensitive, so the right one is:

cordova plugin rm cordova-plugin-x-socialsharing

Upvotes: 0

Related Questions