I’m facing a problem with the camera plugin on wp8.1.
Im using the following code:
var options = {}
navigator.camera.getPicture(options).then(function (imageData) {
$scope.imgURI = "data:image/jpeg;base64," + imageData;
}, function (err) {
// An error occured. Show a message to the user
});
On android and IOS this works, it shows the camera but on wp nothing shows up and nothing happens not even a error.
Anybody that can help me? I’m using visual studio 2015
I tried using visual studio to add the plugin but it did not work for me. It is very easy to use command prompt to override the visual studio plugin. Just cd to the root folder of your visual studio project, and run the commands above. It will not mess up your project. Hope that helps!
It’s getting better, now the camera shows up but when ik click the ‘take’ button you can hear a click and then nothing happens?? the only thing you can do is hit the cancel button.