InAppBrowser camera access

I’m trying to get access to my camera with the InAppBrowser. When I visit the site on a mobile browser my input triggers the gallery with access to my camera. When I place the URL in InAppBrowser, it only opens my files dir. When searching around I found this git thread https://github.com/apache/cordova-plugin-inappbrowser/issues/328 the solution there doesn’t work for me.

If someone knows the solution to open your camera InAppBrowser I would be a very happy person!

FYI
input tag:
<input type="file" accept="image/png, image/jpeg" >
app component: initializeApp() { this.platform.ready().then(() => { SplashScreen.hide(); const browser = this.iab.create('https://dev.kevinrouwkema.nl/', '_blank', this.options); browser.on('loadstop').subscribe(event => { SplashScreen.hide({ fadeOutDuration: 1000 }); setTimeout(() => { browser.show(); }, 1000); }); }); }