Hi, i'm trying to use the Xamarin.Media plugin to access the camera on windows phone 8.1, i'm using the default code to do so (see screen shot attached), but when i click on the button to open the camera, the code crashes on this line:
" var file = await CrossMedia.Current.TakePhotoAsync(test);"
I have attached a stack trace from an exception which says that it crashes because "XAML parsing failed",
this code works on my android project, but i cant get my head around why it wont work for windows phone 8.1.
i have the media package installed across my project as well as having the correct permission for the camera selected.
Can anyone help?
thanks in advance