Thanks to Ionic team for an awesome framework!
I’ve read through the Cordova Camera API formula and pulled down the code and ran it.
I’ve read that you can’t test the camera on the iPhone emulator but only on an iPhone device.
This is what I get when emulating the camera code:
2014-05-18 12:51:20.640 CameraTest[5080:90b] Multi-tasking -> Device: YES, App: YES
2014-05-18 12:51:20.650 CameraTest[5080:90b] Unlimited access to network resources
2014-05-18 12:51:20.675 CameraTest[5080:90b] CDVPlugin class CDVStatusBar (pluginName: statusbar) does not exist.
2014-05-18 12:51:20.691 CameraTest[5080:90b] [CDVTimer][statusbar] 16.740024ms
2014-05-18 12:51:20.692 CameraTest[5080:90b] [CDVTimer][TotalPluginStartup] 17.216027ms
2014-05-18 12:51:20.872 CameraTest[5080:90b] Resetting plugins due to page load.
2014-05-18 12:51:21.074 CameraTest[5080:90b] Finished load of: file:///Users/telagraphic/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/92F6FDA8-355E-4651-AB8E-6915D0AC78AC/CameraTest.app/www/index.html
2014-05-18 12:51:35.849 CameraTest[5080:90b] ACTIVATING
2014-05-18 12:51:36.267 CameraTest[5080:90b] Click!
2014-05-18 12:51:36.268 CameraTest[5080:90b] Camera.getPicture: source type 1 not available.
So is the code on the Camera API formula supposed to work in the emulator?
This wasn’t said in the post and now I gotta learn how to test this app on a device.
If that is the case, I’ll proceed that way. Just want to make sure this is the case for my development workflow.