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

captureVideo doesn't close camera picker and doesn't show alert message about prohibited camera usage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.2
    • None

    Description

      Steps to reproduce:

      1. Create a simple application which calls `captureVideo()` method
      2. Deploy application to real device
      3. Click on button which starts video capturing
      4. Click "No" when it asks permissions for camera

      Expected result:
      camera picker is animated out. And every time when user clicks on capture video alert is shown as in `cordova-plugin-camera`: Access to the camera has been prohibited, please enable it in the Settings app to continue. And 2 buttons are shown: OK, Settings

      Actual result:
      camera picker is not hidden. It's possible to click on record button and record black screen. Eventually video is saved and viewed

      Attachments

        Issue Links

          Activity

            People

              filmaj Filip Maj
              sergii.stotskyi Sergii Stotskyi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: