Closed Duefectu closed 6 months ago
I use this module on Android all the time. The error you are seeing indicates the file is not actually a HEIC image. Can you provide a file where you see this to confirm?
How you get the file off of the source matters. For example, Apple often pre-converts the file to jpeg when sharing it but keeps the file extension as .HEIC just to make every non-iPhone user's life worse. If this is a common workflow for your use case, I would suggest adding file type validation before converting your files.
The same application works fine with EDGE from Windows. Attacking the same server from Android fails. I'm using WebView, maybe that's the problem? The .heic file is the same one that works on Windows, and it is taken with an Android.
Note: EDGE for Android works fine, so it must be the webview...
Confirmed, it's the Xamarin WebView. Fortunately, with the MAUI WebView it works perfectly! Thank you very much!
Is there any way it can work on Android. Throws exception: Could not parse HEIF file,Invalid input: No 'ftyp' box".
On Windows it works perfectly.
Thanks for your excellent work!