capacitor-plugins
capacitor-plugins copied to clipboard
Base64 Code Not Sharing
Hi
I am using this plugin for sharing https://ionicframework.com/docs/native/share
Simple text and url is sharing well but I need to share Base64 image share. I am working on canvas based app and want to share that. But plugin is giving error whenever I tried to share the Base64 image.
base64 sharing is not supported, only file://
urls are supported as documented on https://capacitorjs.com/docs/apis/share#shareoptions
As workaround you can use filesystem plugin to save the file and then share the url that writeFile
returns.
I've added the type: feature request
label to consider adding base64 sharing feature to the plugin.
+1