Greetings to all.
I need a little help.
https://github.com/apache/cordova-plugin-camera#cameradirection--enum this GitHub cordova-plugin-camera docs say in order to open FRONT camera use integer '1'.
And what ionic-native camera v2 docs https://ionicframework.com/docs/v2/native/camera/#CameraOptions
says is for FRONT camera use integer '0' (camera.d.ts file says the same).
I'm confused, I tried both options cameraDirection: 0 and cameraDirection: 1.
And while running on android MOTO G4 device it opens back camera.
I also tried this one... cameraDirection: Camera.Direction.FRONT. But it opens back camera always.
Can anyone help me out of this?
Thanks in advance.
Check this forum topic too for reference https://forum.ionicframework.com/t/camera-options-not-work/70193/4
Greetings to all.
I need a little help.
https://github.com/apache/cordova-plugin-camera#cameradirection--enum this GitHub
cordova-plugin-cameradocs say in order to openFRONTcamera useinteger'1'.And what
ionic-nativecamerav2 docs https://ionicframework.com/docs/v2/native/camera/#CameraOptionssays is for
FRONTcamera useinteger'0'(camera.d.tsfile says the same).I'm confused, I tried both options
cameraDirection: 0andcameraDirection: 1.And while running on android
MOTO G4device it opens back camera.I also tried this one...
cameraDirection: Camera.Direction.FRONT. But it opens back camera always.Can anyone help me out of this?
Thanks in advance.
Check this forum topic too for reference https://forum.ionicframework.com/t/camera-options-not-work/70193/4