jamesmontemagno / Xamarin.Plugins

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

Xam.Plugin.Media taking photo not working on Xamarin.Forms(currently 2.2.0.31) #303

Closed huby01 closed 8 years ago

huby01 commented 8 years ago

Please take a moment to fill out the following (change to preview to check or place x in []):

This is a

Which plugin does this impact:

Version Number of Plugin:2.3.0 Device Tested On: Simulator Tested On:WP8.1

Expected Behavior

Taking photo

Actual Behavior

Taking photo task hangs with an endless "Resume..." message

Steps to reproduce the Behavior

danieledallavalle commented 8 years ago

I have the same behavior on Android and same Foms version

danieledallavalle commented 8 years ago

Actually my issue seems more related to a strange behavior of ImageSource.FromStream not executing the delegate, the Media plugin is working correctly

EduardoSerra commented 8 years ago

Did you work around this issue? how?

danieledallavalle commented 8 years ago

Sorry for the late replay,

What I did was to use the path of the MediaFIle on the device to retrieve it, but you can also use the GetStream method of the MediaFile itself

From: Eduardo Serra [mailto:notifications@github.com] Sent: Wednesday, May 18, 2016 10:08 AM To: jamesmontemagno/Xamarin.Plugins Xamarin.Plugins@noreply.github.com Cc: danieledallavalle daniele.dallavalle@a-sign.it; Comment comment@noreply.github.com Subject: Re: [jamesmontemagno/Xamarin.Plugins] Xam.Plugin.Media taking photo not working on Xamarin.Forms(currently 2.2.0.31) (#303)

Did you work around this issue? how?

— You are receiving this because you commented. Reply to this email directly or https://github.com/jamesmontemagno/Xamarin.Plugins/issues/303#issuecomment-220037136 view it on GitHub https://github.com/notifications/beacon/AOOBUJ9104Cx5kpLDirWka7U8soTbdtNks5qCx1KgaJpZM4IdIY4.gif

huby01 commented 8 years ago

I temporarily downgraded Xamarin.Forms to version 2.1.0.6529 and it works. I also tried the current XF 2.3.*-pre2 and it is not working.

jamesmontemagno commented 8 years ago

This issue was moved to jamesmontemagno/MediaPlugin#9