Trying to get camera recording work and keep getting an exception.
I followed the basic example, but when I call recordAsync() it errors out.
Here’s my code:
if (this.camera) {
this.camera.recordAsync().then(data => {
console.log(data);
Vibration.vibrate();
});
}
Here’s the exception that I get:
Possible Unhandled Promise Rejection (id: 0):
TypeError: CameraManager.record is not a function
TypeError: CameraManager.record is not a function
at Camera.recordAsync$