Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
6.1.1
-
None
-
None
-
Meteor 1.4.4.4
Description
Hi!
This gives me undefined when I use a version after 2.4.1 :
document.addEventListener('deviceready', () => { console.log('navigator.camera', navigator.camera) })
I am using Meteor 1.4.4.4 and have installed the plugin like this:
meteor add cordova:cordova-plugin-camera@4.0.2
When I instead do this, the camera object is available:
meteor add cordova:cordova-plugin-camera@2.4.1
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!