Front camera Does not work

Hi I’m new with Ionic.
I’m trying to get a photo from front camera, but I read that any value to camera direction is not working because it alway will open back camera. I’have tried all solutions I have found but still it does not work.

Is there any other way to fix this problem ?

Can you post your code along with some solutions you tried already.

Try to be as specific as possible so the community can give you the help you need :blush:.

[UPDATE] I’have solved my problem by using camera-preview.

I read about a bug in ionic camera that cannot allow you to select front camera, but the problem is solved for me by usig camera preview.