jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

Pick or take photo produces black/empty preview on iOS/Android #260

Closed BakDavide closed 8 years ago

BakDavide commented 8 years ago

This is a

Which plugin does this impact:

Version Number of Plugin: 2.3.0 Device Tested On: iPhone 6S, iPad 2, LG G3 (Android 6) Simulator Tested On:iPhone 6

Expected Behavior

After selecting an image from the gallery or take new from camera I view a preview of the selected image (using ImageSource.FromFile(mediaFile.Path))

Actual Behavior

On iOS after selecting an image from the gallery displays a black preview of the selected image (using ImageSource.FromFile(mediaFile.Path)). On Android after take picture from camera displays an empty preview of the image (using ImageSource.FromFile(mediaFile.Path)).

Steps to reproduce the Behavior

With iOS select an image from gallery and use an ImageSource to show the selected image (black preview). With Androd take a photo from camera and use an ImageSource to show the selected image (empty preview). The gallery problem is reproduced only on iOS while the camera problem is reproduced only on Android 6 (with my LG G3 with Android 5 the problem does not occur).

jamesmontemagno commented 8 years ago

This issue was moved to jamesmontemagno/MediaPlugin#18