cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <>
Subject Re: [Camera] iOS8: Handle case where camera is not authorized?
Date Mon, 29 Sep 2014 23:15:10 GMT
Thanks Dan!

Please create an issue in JIRA [1]
You can assign component "iOS, Plugin Camera, Plugin Capture"
This looks pretty easy to fix, so I don't think you'll have to wait long.




On Mon, Sep 29, 2014 at 2:17 PM, Dan Polivy <> wrote:

> Hi folks,
> I'm working on iOS 8/iPhone 6 compatibility for my Cordova app, and one
> thing that's new in iOS 8 is the ability to enable/disable access to the
> camera on a per-app basis, for all regions. (Previously, I think this was
> only limited to certain regions such as China.)
> As of iOS 7, there's a new API to test whether the app has access to
> capture the desired media type:
> :
> [AVCaptureDevice authorizationStatusForMediaType:mediaType];
> I didn't see any existing issues or discussion on this topic, so thought
> I'd bring it up here. Is detecting this scenario, and popping up a
> UIAlertView notifying the user (and offering a button to take them to the
> settings app), a reasonable addition to the camera plugin? I'm happy to put
> together a PR and file an issue if you think it's worth adding.
> Thanks,
> Dan
> (I'm not on the dev list, so please include me directly in all replies.)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message