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 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!

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