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/01/20 23:51:22 UTC

[GitHub] [cordova-plugin-camera] thmclellan commented on issue #486: Android : Camera cannot be opened with Cordova 9

thmclellan commented on issue #486: Android : Camera cannot be opened with Cordova 9
URL: https://github.com/apache/cordova-plugin-camera/issues/486#issuecomment-576463204
 
 
   @cleverappdesign To get the camera working without permission issues on Android, one approach that can work is to handle permissions through a separate plugin like [cordova-plugin-android-permissions](cordova-plugin-android-permissions). 
   
   There's an Ionic native wrapper at https://ionicframework.com/docs/native/android-permissions with an example of how to checkPermission and requestPermission. 
   
   One hassle with troubleshooting Cordova is that the above config.xml entries describe what should get added to your AndroidManifest.xml. It may be worth checking your /platforms/android/app/src/main/AndroidManifest.xml file to see if it's getting updated with each cordova build. Hope that helps 

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