Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14260

captureImage: permission denial on android 8.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      When I call "captureImage" method I accept all permissions but I get:

      java.lang.SecurityException: Permission Denial: writing com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=12716, uid=10079 requires android.permission.WRITE_EXTERNAL_STORAGE, or grantUriPermission()

      I'm using cordova-plugin-media-capture version 3.0.2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kocram Marco
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: