Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Input type="file" accept="image/*;capture=camera" not working inside iframe inside ionic blank page

$
0
0

@vamshi wrote:

Hi All,

I know that it's not the best way to do stuff in ionic, but using it for my purposes. I've to open our website inside an iframe in ionic view - blank app. (our quickhack to get app immediately)

We have a website on which there is a HTML5 control, which is a file upload
<input type="file" accept="image/*;capture=camera">

This perfectly asks me to open whether Camera or File browser, however, when I put this in ionic blank app with iframe and open the same page inside - it just opens file browser directly without asking for Camera.

I've added
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />

in AndroidManifest.xml and it's still not working.

Can someone please help in this regard. Thanks in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



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