You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/04 07:25:09 UTC

[GitHub] [cordova-plugin-inappbrowser] Samita907 opened a new issue #846: Inappbrowser Camera option with input file

Samita907 opened a new issue #846:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/846


   # Bug Report
   
   ## Problem
   Cannot access camera option alongwith gallery,document etc 
   ### What is expected to happen?
   
   Camera option should show with input file chooser alongwith document/gallery
   
   ### What does actually happen?
   
   Camera option shoukd show to capture pictures in input file.
   
   
   Trying to get Camera option  with input type file using Inappbrowser plugin in my hybrid app(Apache cordova)
   Implemented the code changes in InAppBrowser.java file and subsequent permissiones in config.xml and AndroidManifest.xml mentioned by **Gilbertogwa** in the below thread
   https://github.com/apache/cordova-plugin-inappbrowser/issues/328
   
   Installed all the below plugins alongwith Cordova-plugin-inappbrowser
   cordova-plugin-camera
   cordova-plugin-media-capture
   cordova-plugin-device
   cordova-plugin-file
   cordova-plugin-media
   cordova-plugin-crosswalk-webview
   
   Included Camera permissions in config.xml as below  
   <uses-permission android:name="android.permission.CAMERA"/>
   
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
   
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
   
   
   
   
   Trying with below attributes for camera option
   <input type="file" accept="image/*" capture="capture">
                   <input type="file" accept="image/*">
                   <input type="file" accept="image/*" capture>
                 
                   <input type="file" accept="image/*" capture="">
                   <input type="file" />
                   <input type="file" accept="image/*;capture=camera" >
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Using Cordova version : 6.3.1
             Android version:  5.2.1
   Cordova-plugin-inappbrowser version 2.0.2
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   Please answer this issue with detailed code with filename to be changed  .Thank you ..


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



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


[GitHub] [cordova-plugin-inappbrowser] Samita907 commented on issue #846: Inappbrowser Camera option with input file

Posted by GitBox <gi...@apache.org>.
Samita907 commented on issue #846:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/846#issuecomment-775742524


   Hi All ,
   I am closing this issue as now I am able to get Inappbrowser camera with filechooser  by following the instructions mentioned in the answer for this issue.


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



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


[GitHub] [cordova-plugin-inappbrowser] Samita907 closed issue #846: Inappbrowser Camera option with input file

Posted by GitBox <gi...@apache.org>.
Samita907 closed issue #846:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/846


   


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



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