ludufre / capacitor-screenshot

This plugin take screenshot of the app
MIT License
15 stars 8 forks source link

Get File URI instead of Base64? #5

Open nijakobius opened 8 months ago

nijakobius commented 8 months ago

Any chance we could get the file path in addition to the base64 string?

I need to share the screenshot with this plugin, which only seems to accept paths and no base64: https://capacitorjs.com/docs/apis/share

Maybe this plugin could serve as inspiration, where you can specify whether you want the image as Uri, Base64 or DataUrl: https://capacitorjs.com/docs/apis/camera

PS: Thank you so much for this plugin!

ludufre commented 8 months ago

For now I can't do this implementation. I'll let you know as soon as possible.