Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

InAppBrowser camera access

$
0
0

@KevinR007 wrote:

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); }); }); }

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>