Take photo option not working

I have used
<input type="file" accept="image/*" />

to take image files. In android it’s working fine. For IOS Photo library and more option working fine. But if i tap on Take photo option the App crashes.

How to prevent App from crash or Hide the Take Photo option

I’m using Image Picker Plugin to pick images from device.

Image picker is good. But i want to work with