cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim (JIRA)" <>
Subject [jira] [Created] (CB-11341) Camera depends on media-src
Date Tue, 31 May 2016 11:23:12 GMT
Tim created CB-11341:

             Summary: Camera depends on media-src
                 Key: CB-11341
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
    Affects Versions: 2.2.0
         Environment: iOS 8.4 - iPhone 4S
            Reporter: Tim

Camera access alert isn't displayed when "media-src" attribute is removed from the Content
Security Policy meta tag in index.html. Only when the iOS app is suspended and resumed will
the Camera access alert be displayed.

How to reproduce:
1. Install camera plugin 2.2.0
> cordova plugin add cordova-plugin-camera
2. Remove "media-src" from Content Security Policy meta tag in index.html
3. Build iOS
> cordova platform add ios
4. The camera access alert won't display when the app loads
5. Suspend the camera app using the home button. Return to the app. The camera access alert
will now display.

This message was sent by Atlassian JIRA

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

View raw message