cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Chapman (JIRA)" <>
Subject [jira] [Created] (CB-12829) Cant access the camera, PictureSourceType.CAMERA defaults to gallery
Date Thu, 18 May 2017 08:08:04 GMT
George Chapman created CB-12829:

             Summary: Cant access the camera,  PictureSourceType.CAMERA defaults to gallery
                 Key: CB-12829
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera
         Environment: {code}
global packages:
    @ionic/cli-utils : 1.1.2
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.1.2

local packages:
    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.1.2
    @ionic/cli-plugin-ionic-angular : 1.1.2
    Ionic Framework                 : ionic-angular 3.2.1

    Node       : v7.5.0
    OS         : Windows 10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed
            Reporter: George Chapman

I am building an app using Ionic (v3.2.1) and the cordova-plugin-camera (latest) When i launch
the camera using the below configuration instead of launching the camera as expected it launches
the devices gallery:

destinationType :,
sourceType :,
quality : 75,
targetWidth: 1000,
targetHeight: 1000,
allowEdit : false,
saveToPhotoAlbum: false

Oddly it opens up the "Recent" folder and then redirects to the "Camera" folder - which is
an aside.

I have tried the following as suggested by the Ionic team (
but this did not resolve anything so they have suggested that i log the issue here:

{{cordova plugin rm cordova-plugin-camera}}
{{cordova platform rm android}}
{{cordova platform add android@latest}}
{{cordova plugin add cordova-plugin-camera@latest}}

I have tested on 2 devices both running Android 6.0.1 with the same results

This message was sent by Atlassian JIRA

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

View raw message