@blunder wrote:
It looks like there is something wrong with the cordova-plugin-camera.
After adding the plugin via:
ionic plugin add cordova-plugin-camera
and adding the $cordovaCamera dependency to my controller:
.controller('CameraCtrl', function($scope, $cordovaCamera){ ... }
I get the following error:
0 977452 error Error: [$injector:unpr] Unknown provider: $cordovaCameraProvider <- $cordovaCamera <- CameraCtrl
I've noticed that the camera obj is added to the global navigator so I guess the plugin is really installed but I dont know what's going on.
Same result under ionic 1.2.4, ionic 1.1.1 (though it seems is something related to the plugin itself and not ionic).
Any help?
Posts: 1
Participants: 1