capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

Shareplugin: Missing documentation on how to share image(s)

Open basvdijk opened this issue 5 years ago • 0 comments

Feature Request

Plugin

Share

Description

In Cordova I used https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin in order to share images (not the url, but an actual image) with this code:

this.socialSharing.share(null, 'Image title', this.canvas.toDataURL()).then(() => {

}).catch(() => {

});

Now I want to transfer to Capacitor, but the documentation page of the Share plugin doesn't show any example on how to share an image like I did with Cordova.

Please not that I do not want to share a link to an image as text. I want to share it as an image.

Platform(s)

Not applicable

Preferred Solution

More example code on the documentation page of the Share plugin

Alternatives

Not applicable

Additional Context

basvdijk avatar Jan 16 '21 14:01 basvdijk