[ https://issues.apache.org/jira/browse/CB-13881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-13881. ----------------------------- Resolution: Not A Problem cordova-plugin-camera >= 3 requires cordova-android >= 6.3.0, and that version of meteor uses an older version. Update to meteor 1.6 or keep using the old versions of the plugins, but this is not a bug. > navigator.camera undefined for versions newer than 2.4.1 > -------------------------------------------------------- > > Key: CB-13881 > URL: https://issues.apache.org/jira/browse/CB-13881 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Affects Versions: 6.1.1 > Environment: Meteor 1.4.4.4 > Reporter: Peter Mosh > Priority: Major > > Hi! > This gives me undefined when I use a version *after 2.4.1 :* > {noformat} > document.addEventListener('deviceready', () => { > console.log('navigator.camera', navigator.camera) > }){noformat} > I am using Meteor 1.4.4.4 and have installed the plugin like this: > {code:java} > meteor add cordova:cordova-plugin-camera@4.0.2{code} > When I instead do this, the camera object is available: > {code:java} > meteor add cordova:cordova-plugin-camera@2.4.1{code} > > So, to summarize: Versions _3.0.0, 4.0.0, 4.0.1, 4.0.2_ do not work, I always > get _undefined_ for _navigator.camera._ I need to switch back to version > _2.4.1_ to get the object instead. > > Thanks for your help in advance! > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org