Image capture problem

I want to provide user taking photo and upload it. I used this line.

This code works in browser. When I click button, gallery and cam options are shown.
But the same code in f7 app, works partially. Android system offers only gallery option. Why the cam option is invisible?

Mobile applications require cordova library. You may need to change the codes as here.

cordova-plugin-camera