Open
Description
Hi,
many thanks for making this plugin available. I am using it on a Capacitor project with an embedded Google OCR component.
When importing an image on iOS and passing it the OCR engine an error is being thrown (OCR failed to decode image'). If the same file is 'shared' using another plugin as opposed to importing OCR works just fine.
The difference in the two base64 strings is that the good one has '==' at the end. Changing the regex in the js file in this plugin to include '=' resolves the issue.
/[^A-Za-z0-9\+\/=]
cheers,
R
Metadata
Metadata
Assignees
Labels
No labels