meteor-plugin

Error while taking pictures using MeteorCamera.getPicture() while testing on a laptop

只愿长相守 提交于 2019-12-13 15:04:48
问题 I am working to add a photo ability to my app using Meteor's mdg:camera plugin. For now, I don't have any PhoneGap devices setup, so I am testing on my laptop. I thought I read somewhere that the Meteor implementation would fall-back and use a simple file dialog when a camera wasn't available, but when I try to run the following code on my laptop: var cameraOptions = { width: 800, height: 600 }; MeteorCamera.getPicture(cameraOptions, function (err, data) { if (err) { console.log(err); // TODO