gree / unity-webview

zlib License
2.29k stars 691 forks source link

How to use camera with input #597

Open AlohaMancer opened 4 years ago

AlohaMancer commented 4 years ago

I have html element: '''input type="file" id="capture" accept="image/*; capture=camera" /''' How to use image picker in webview? I see standart image picker without camera. I added Camera permission.

KojiNakamaru commented 4 years ago

You might miss to request permissions on runtime. Please check the following: https://github.com/gree/unity-webview/tree/8e7e576949536a4d5e127bc1d46e99060523bcbd#cameraaudio-permissionfeature