Is it possible to use this with Cordova just aswell?
I tried adding it as a Cordova plugin (Cordova version 4.1.2) and used the example code to test it (I was using the apache camera plugin before, wich works fine. But I want some custom UI)
With the example code I got a Uncaught TypeError: Cannot call method 'getPicture' of undefined error in javascript.
Could it be because I am using Cordova and not Phonegap? (didn't think it would be an issue)
Thanks in advance for helping me out.
EDIT
So I found out Phonegap plugins should also work with Cordova. There is no difference. (according to: http://devgirl.org/2014/04/09/phonegapcordova-cli-adding-plugins/)
So tried installing it again and used the example code to try and get the camera to work, but still got the: Uncaught TypeError: Cannot read property 'getPicture' of undefined
Is it possible to use this with Cordova just aswell? I tried adding it as a Cordova plugin (Cordova version 4.1.2) and used the example code to test it (I was using the apache camera plugin before, wich works fine. But I want some custom UI)
With the example code I got a
Uncaught TypeError: Cannot call method 'getPicture' of undefined
error in javascript.Could it be because I am using Cordova and not Phonegap? (didn't think it would be an issue)
Thanks in advance for helping me out.
EDIT So I found out Phonegap plugins should also work with Cordova. There is no difference. (according to: http://devgirl.org/2014/04/09/phonegapcordova-cli-adding-plugins/) So tried installing it again and used the example code to try and get the camera to work, but still got the:
Uncaught TypeError: Cannot read property 'getPicture' of undefined