Cordova-plugin-media-capture broken in iOS 8?


#1

I know this is more of a cordova issue, but I’m hoping somebody else around here might have solved it.

I’m getting the following error in iOS when I make a call to captureVideo:

-[UIWindow endDisablingInterfaceAutorotationAnimated:] called on <UIWindow: 0x15f608840; frame = (0 0; 320 568); gestureRecognizers = <NSArray: 0x170054df0>; layer = <UIWindowLayer: 0x1702251a0>> without matching -beginDisablingInterfaceAutorotation. Ignoring.

I’d love some advice if anyone else has see/solved this.

EDIT: I should also mention I am using the latest org.apache.cordova.media-capture plugin @ version 0.3.3.

Thanks!


#2

I was able to put together a sample project to reproduce this issue, and found some interesting things.

Another click to trigger another captureVideo() call, or even clicking around in the app will cause the “stalled” callback to fire, and it’s although the original captureVideo() call never failed.

Anyone else ever experience this? Is there a fix?


#3

It seems the failure was in ionic after all, and the error doesn’t change anything.