Problem using mdg:camera on web and android

I followed the tutorial at https://github.com/meteor/mobile-packages/tree/master/packages/mdg:camera and checked with https://github.com/meteor/mobile-packages/blob/master/examples/simple-photo/simple-photo.js.

When testing on web, I don’t get an image. The ‘take photo’ and ‘take new photo’ buttons work, and the other two just throw a ‘closeandcallback is not a function’-error, but since this is part of the package itself, I haven’t tempered with it yet.

On Android, I don’t get an error, but the two buttons (‘take photo’ and ‘cancel’) seem to do nothing at all. In android, it shows a small square with a ‘play’-button, presumably reserved for the picture.
Android version is 6.0.1

Meteor version I’m using is 1.3.4.4, and I seem to recall this package working perfectly in a previous attempt to use it. Unfortunately, I don’t have the code of the previous attempt anymore, so I can’t check the differences

I’ll do a rollback to a previous version of Meteor, to check if that has anything to do with it.

Any help is greatly appreciated.

Which web browser are you testing in, so far Chrome is a sure fire way for it to work. All you really need for code is:

MeteorCamera.getPicture(function(error, data){
            if(error){
                console.log(error);
            }

           //your code in here
});

If you data returns a base64 image for you to use. As far as Android I can not say much, have only used it in iOS and in browser.