question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TakePhotoAsync not working on iPhone with OS >10

See original GitHub issue

I am testing the method:

        var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
        {
            DefaultCamera = CameraDevice.Rear,
            SaveToAlbum = true
        });

In my iPhone6 with OS 10.1 and is it not working. The app breaks.

Any workaround to make this work? Thanks in advance 😃

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
proxymus89commented, Oct 28, 2016

When I started to develop my application (august) I read documentation and these two keys did not exist because Ios 10 not existed 😃 last night i read again documentation and found that I had to add these two keys so I solved 😃

0reactions
DamonWickcommented, Dec 26, 2017

Hey James first of all thanks for the plugin 3.1.1 it’s working smooth on android but in ios i am facing a problem i am using a shared code and the camera works fine on the initial launch of the code for both photo and video but on the second time it just get stuck at store media camera options and if i again open camera it throws an exception of only one camera operation can be working at a time. Any suggestions please i am kind of in a deadlock here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Camera Issue on iOS 10 with xam.Plugin.Media
I am using Xam.Plugin.Media (ver: 2.3.0) with Xamarin Forms for iOS. It is working fine with IPhone with iOS-10 but the same code ......
Read more >
Save a picture from camera to device gallery using ...
Hi, how to save a picture from camera to device gallery using Xamarin.Essentials 1.7 Media Picker and Xamarin Forms for Android 11 and...
Read more >
take photo and save to Album,but error - Microsoft Q&A
I use the codes to take photo and save it. private async void btnCamera_Clicked(object sender, EventArgs e) { var photo = await CrossMedia....
Read more >
Xam plugin media xamarin forms. Media in my ... - My Blog
The accepted answer does not work when attempting to load a resource from a project that is not the main Xamarin Forms project....
Read more >
If the camera or flash on your iPhone, iPad, or iPod touch ...
If the camera or flash still isn't working properly, contact Apple Support to discuss service options. If you want to try more steps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found