[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413832728
 
 
   To be honest. I genuinely don't know. It seems to be a permissions issue in 
some way, but I don't know where that problem originates. Having changed from 
`cordova-plugin-android-permissions` to `cordova.plugins.diagnostic` (using the 
guide here https://pointdeveloper.com/ionic-requesting-permissions-run-time/ ) 
I can now get the camera permissions when I open inappbrowser... I still don't 
get the option to use it when uploading a file though. 
   
   How would I check if it is an issue with `cordova-android`?


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413820928
 
 
   Yeah, makes sense. That's why I tried to add permissions using 
cordova-plugin-android-permissions but it never grants me access. I always get 
file write access which I think apps get by default, but never camera (or 
anything else I try to request).


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413817457
 
 
   Adding a very basic button to take a picture using 
https://ionicframework.com/docs/native/media-capture/ works, but within 
inappbrowser it still doesn't give me an option to takes pictures when 
uploading a file. Ionic can definitely access the camera on my phone, but 
inappbrowser doesn't seem to be able to.


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413816065
 
 
   Adding the very basic `` to the home.html 
does the same thing. Just gives me a file upload with no other options. I 
suspect ionic plugins being used correctly might give me a better version, I'll 
have a look.


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413813813
 
 
   Sure, using the w3schools demo below, the same thing happens. I'm sure it's 
permissions related. The app you create doesn't have camera permissions listed 
in the android settings menu, so it's never going to gain camera access even 
though I request it at runtime.
   
   https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_fileupload_get


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413811889
 
 
   Just checking it with another site https://uppy.io/examples/dashboard/ and I 
get the same thing, it asks me to grant permissions from their site when using 
a camera, but not in the standard browser


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413810338
 
 
   It's a fairly standard drop zone using dropzone.js. When I use it in the 
standard browser it pops up a permissions warning, then if I accept it lets me 
choose from camera, mic, video and files. That's what lead me to believe it was 
a permissions issue. However, If I add a specific camera function to the app it 
does let me use the camera, but still doesn't grant me those options using 
inappbrowser. The same thing happens on the demo site below
   
   https://www.dropzonejs.com/
   
   


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413795556
 
 
   Yeah, The error suggested that cordova-plugin-inappbrowser-camera was 
incorrectly configured. I couldn't get it to run at all with that version so I 
suspect you're right. 
   
   The standard inappbrowser works fine, other than not allowing me access to 
the camera when uploading files on a site. Any idea if I need to use the 
permissions or config differently to allow this functionality? It works fine on 
Ios.


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


With regards,
Apache Git Services

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



[GitHub] padders commented on issue #283: No option to use camera when uploading files on Android

2018-08-17 Thread GitBox
padders commented on issue #283: No option to use camera when uploading files 
on Android
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/283#issuecomment-413792576
 
 
   Ah, looks like I might have confused myself. It was this that I saw
   
   https://github.com/jverlee/cordova-plugin-inappbrowser-camera
   
   I have now tried to install that version, but using Ionic I run into issues 
installing it at all, it just throws errors every time.
   
   Maybe there is an issue with this release regarding camera usage on android 
then?


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


With regards,
Apache Git Services

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