I’m using Ionic with vue.js and want users in my app to be able to select an image then share it to Facebook. I’m using html2canvas with the @capacitor/share but I cannot share this image. How can I share images with Ionic with Facebook. Does it need to come from a URL? Can’t use native file storage? Do I need a backend processing via API?
Share plugin only supports sharing file://
urls, not Blobs or any other web object.
You can use Filesystem plugin to save the image and then use the returned file://
url to share it