You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're retrieving a PDF as base64 from an API and wanted to be able to directly print that on the device without having to save it to the device first. Saving to the FileSystem would require another plugin and dealing with permissions which the user may deny.
Preferred solution
Consider adding printPdfBase64() as a method to your @capawesome-team/capacitor-printer plugin.
Thank you for your request. While we always recommend not using Base64 to prevent OOM issues (see here), I can see that such a method would be handy for small files. I'll add this to the roadmap.
Plugin(s)
Current problem
We're retrieving a PDF as base64 from an API and wanted to be able to directly print that on the device without having to save it to the device first. Saving to the FileSystem would require another plugin and dealing with permissions which the user may deny.
Preferred solution
Consider adding printPdfBase64() as a method to your @capawesome-team/capacitor-printer plugin.
Alternative options
No response
Additional context
No response
Before submitting
The text was updated successfully, but these errors were encountered: