I'm new to Ionic / Cordova Android dev. I've been trying to put in cordova camera plugin for last few days with no outcomes. Please help me out.
What I want to do is when you slide to a certain slide, the camera is loaded and the user is able to take the picture. (Like snapchat)
How do I have the camera already loaded? All the examples I saw had to click a button to load camera.
If I try the examples, I get
Uncaught ReferenceError: require is not defined
error for this line in cordova.js
var channel = require('cordova/channel');
I'm using $ionicPlatform.ready() function to replace deviceready function. Is this something viable?
I don't really have much of code for this specific problem. But if you want to see it, I will update it.
Thank you!