cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-7667) [Camera] iOS8: Handle case where camera is not authorized
Date Tue, 12 May 2015 01:02:01 GMT


ASF GitHub Bot commented on CB-7667:

Github user seronal commented on the pull request:
    Yes but not everyone uses native localization support. It's much easier to handle the
localization on the javascript side, especially if you are targeting multiple platforms. This
approach basically requires an extra plugin to create/move localization resources if you are
using CLI based approach for development, not to mention having to create platform specific
localized resources.

> [Camera] iOS8: Handle case where camera is not authorized
> ---------------------------------------------------------
>                 Key: CB-7667
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin Camera, Plugin Media Capture
>    Affects Versions: 3.5.0
>         Environment: iOS 8
>            Reporter: Dan Polivy
>            Assignee: Shazron Abdullah
>            Priority: Minor
> In iOS 8, it's possible for the camera to be disabled for any given app; in iOS 7, this
was only possible in certain regions (e.g. China).
> If the camera is disabled, and someone launches the Camera plugin to capture an image
from the camera, they'll just get the camera UI with a black screen, and no indication that
the camera permission is disabled for the app. A better UX would be to show the user a prompt
indicating that the camera permission is disabled, and (on iOS 8) providing a button to take
them to the Settings app to change it.
> 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];

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message