How to share image with capacitor share api

Hi everybody, I want to share an image with “share api” https://capacitor.ionicframework.com/docs/apis/share, i see that this api only has url or txt options to share,

let shareRet = await Share.share({
title: ‘See cool stuff’,
text: ‘Really awesome thing you need to see right meow’,
url: ‘http://ionicframework.com/’,
dialogTitle: ‘Share with buddies’
});

i don’t want to use “social share” of cordoba, any idea?

Did you manage to find your answer? Wanting to do the same.

1 Like

I have the same question :expressionless:
Any solution?

1 Like

Hi Friends,

Please read the documentation!
See: https://capacitor.ionicframework.com/docs/community/plugins/
https://github.com/moberwasserlechner/capacitor-filesharer
I alredy tested the plugin, works fine.

Sorry for my english.

Regards

1 Like

The url can be a file url

1 Like