You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/04/01 11:09:45 UTC

[GitHub] [cordova-plugin-inappbrowser] PlanB007 edited a comment on issue #328: Can not open camera when I click input type="file" on Android devices

PlanB007 edited a comment on issue #328: Can not open camera when I click input type="file" on Android devices
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/328#issuecomment-607185184
 
 
   > > Found this issue, still having the issue with not having acces to the camera, I tried the solution of replacing the code in InAppBrowser.java that didn't work.
   > > Do you have to remove the platform folder in a specific way? And add it in a special way?
   > > Is there any update on this issue?
   > 
   > I changed the InAppBrowser.java plugins folder and then removed the platform with the standard command and added it again, it worked for me on ionic 3 and 4
   
   I've changed the InAppBrowser.java file inside the node_modules/cordova-plugin-inappbrowser/src/android/ my input tag looks like this `    <input type="file" accept="image/*" capture="camera"  capture="camera">
   ` and it's not working while using ionic 4. It's still opening my device images/video folder and not the camera itself or giving me the option to choose between the gallery and camera

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org