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 2022/05/17 05:58:52 UTC

[GitHub] [cordova-plugin-camera] tomuench commented on issue #411: Error "No Image Selected"

tomuench commented on issue #411:
URL: https://github.com/apache/cordova-plugin-camera/issues/411#issuecomment-1128444504

   > > We constantly get this error on different phones with Android 9-10 if user has several installed camera apps and he don't choose any as default,
   > > in other words - if you have choose camera app dialog you will get this error from native, so please fix it
   > 
   > Same for me! Zebra TC 25 (Android 7.1.2) with default camera App `Snapdragon-Kamera` always returned `No Image Selected` (I guess this is just an incompatible camera App with this Cordova Plugin), so I tried a different Camera App [Open Camera](https://play.google.com/store/apps/details?id=net.sourceforge.opencamera) which didn't work either until I selected a new default camera. So guys with multiple cameras, choose a default one!
   > 
   > By the way: The first time I used the new camera app, the camera selection dialog came up (Open Camera or Snapdragon Camera. _Only this time_ or _Always_); I selected Open Camera as a default (_Always_), but at the first usage, it still didn't work in my Cordova app, because **the camera selection dialog seems to break the Cordova Plugin Camera callback**. It works since then.
   > 
   > If you have the problem `No Image Selected`:
   > 
   >     * Maybe it just doesn't work with the camera app you have installed on your phone (e.g. Snapdragon) -> Try a different camera app
   > 
   >     * When trying a different camera app, you MUST select it as default camera app.
   > 
   > 
   > Tested with two versions:
   > 
   >     * cordova-plugin-camera 4.0.3 (with cordova-android 8.1.0)
   > 
   >     * cordova-plugin-camera 5.0.0 (only worked with cordova-android 9.0.0)
   
   Thanks to @cyril23 . We had the same problem on a Honeywell device with Android 10. We use cordova-plugin-camera 5.0.2. Cause of the problem was the incompatibility between snapdragon camera and cordova. The open camera workaround has helped us.


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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