I’m trying to use the Cordova SocialSharing plugin on Ionic 6 with Vue. But I can’t get it to work. It looks like the plugin has an @angular/core dependency. I Installed as described at Social Sharing | Cordova Social Sharing Plugin for Ionic Apps. Can someone help me? Does anyone have a code example for this plugin working with Vue.
The Ionic link indeed uses angular sugar on top of the api provides in the link I provided.
The Ionic docs wont help in non Angular projects (this specific part)
Btw, Capacitor has this plugin as well and Id recommend going for that one if ypu can
And there is the Web Share API for which u dont need no plugin at all (see compatibility notes)
Thanks! I’ll use the Capacitor plugin. But I would prefer to use the share with just Whatsapp. I didn’t see this option with the Capacitor plugin (that use the Web Share API).