Open Padalingam opened 7 years ago
@Padalingam I am not able to reproduce this on my Galaxy S7. How often does this happen? Is this specific to any one device? Do you see this happening on simulator?
Because we have not received a reply to our request for more information, I am marking this issue as closed. If you are still encountering this issue on the latest version of the plugin, please don’t hesitate to reopen the ticket with the requested information. Thanks!
Hi, reporting the same issue. One of the guys who uses my mobile app reports the same issue: photos, taken from within my app (via MediaPlugin) are properly processed by the application itself, but incorrectly stored in the device's camera roll (via "new StoreCameraMediaOptions() { SaveToAlbum = true }")- some of them have 0kb size (even though they have proper file names assigned), see the attached screenshot. Tech details: Xamarin Application for Android, MediaPlugin version 3.0.1 Device Android version: 6.0 Trying to collect more information from the guy that can give us some lead.
Trying to collect more information from the guy that can give us some lead.
I have been trying to reproduce this issue, but nothing so far. More information like API version, device details will sure help to debug this
The information I collected so far: Lenovo A7010a48, Android 6.0. I think about changing the application to save the photo myself into the public camera roll (not let the MediaPlugin do it), because that way I'll have more control of it as well as potential exception catching and recording. It could be related to memory issues when working with big files (images with high resolution), I also coped with some and I had to enroll Xamarin.FFImageLoading library to tackle them.
Here's another guy complaining about zero size images being saved into the camera roll using MediaPlugin: https://stackoverflow.com/questions/42191654/xamarin-forms-media-plugin-empty-thumbnails-on-phone
I can not able see the image which is taken in the android device but some times its stored in the gallery
Bug Information
Version Number of Plugin: 3.0.1 Device Tested On: Motorola Android 6.0 Simulator Tested On: Version of VS: Version of Xamarin: 6.3 Versions of other things you are using:
Steps to reproduce the Behavior
Expected Behavior
All the images taken from the app needs to be store in the gallery
Actual Behavior
Some times it stored into the gallery and sometimes image is created but its got damages i can not able to open it again
Code snippet
Screenshotst