InBrowserApp take picture

i have an application all made in laravel, and that is deployed, in one of the crud has the option to add a photo or take, in the mobile browser i can take the photo, but when i pass to the ionic code and do the inbrowserapp and try to take the photo opens the document manager, how can i do to be able to take a photo in that crud

constructor(private iab: InAppBrowser) {

  openInAppBrowser() {
    const browser = this.iab.create(
        location: 'no',
        hidden: 'no',
        clearcache: 'no',
        clearsessioncache: 'no',
        zoom: 'no',
        hardwareback: 'yes',

if you can help me, I’d appreciate it