breautek commented on issue #618:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/618#issuecomment-653632718


   > > Can you tell me if you see `<uses-permission 
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />` in your 
`platforms/android/app/src/main/AndroidManifest.xml` file?
   > 
   > No ,Can i know where should i need to add that,When i try to capture the 
picture it was asking storage permission,If i capture the video it's not asking 
the storage permission.
   
   Should be added automatically when you install the plugin/platform. If it's 
missing from your `AndroidManifest` that would explain why you're not getting a 
permission prompt. The question then becomes "Why wasn't that line added to 
your `AndroidManifest`?".
   
   Some things I'd try:
   
   - Ensure you're using the latest version of `cordova-android` (version 
`9.0.0` at the time of writing, not to be confused with the `cordova` cli 
version)
   - Reinstall the `cordova-android` platform
   - Reinstall the `cordova-plugin-camera` plugin.
   
   If none of the above doesn't work, then I would confirm that this happens in 
a pure-cordova project (no frameworks), to eliminate the possibility that the 
problem is coming from a framework. If you can share a [sample reproduction 
app](https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md)
 while using no frameworks, that would be very helpful.


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to