The camera api is functional from your native iOS and Android apps.
Note, you can only test the cordova api on a real device. The Test Center does not emulate the Cordova api yet – coming soon.
Q1: What device(s) and OS version are you using to test on?
Q2: Are you waiting for cordova to deviceready callback before attempting to use a cordova api?