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

Ios 11.2 request again permission is crashing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 4.0.1
    • None
    • cordova-plugin-camera
    • None

    Description

      IMPORTANT: 4.0.2 is not available in choice. Affected version is not 4.0.1 but 4.0.2

      Expected Behaviour
      If user request to use this feature again. Permission should be requested again (and should work)

       

      Actual Behaviour
      When permission request is prompted (the second time) if user click on "Accept" plugin crash with "has no access to camera"

      Reproduce Scenario (including but not limited to)

      Steps to Reproduce
      Create a simple app with this plugin (ie: ionic app)
      Launch it on ios 11.2 (reproduced on 6s, 6s+, 7 and X)
      Launch plugin
      Give permission
      Close app
      Go to settings
      Change app permission for camera
      Reopen app
      Launch plugin

       

      Platform and Version (eg. Android 5.0 or iOS 9.2.1)
      ios 11.2
      Plugin 4.0.2

       

      (Android) What device vendor (e.g. Samsung, HTC, Sony...)
      N/A

       

      Cordova CLI version and cordova platform version

      @ionic/cli-utils : 1.19.1
      ionic (Ionic CLI) : 3.19.1

      global packages:

      cordova (Cordova CLI) : 7.0.1

      local packages:

      @ionic/app-scripts : 3.1.2
      Cordova Platforms : ios 4.5.1
      Ionic Framework : ionic-angular 3.9.2

      System:

      ios-deploy : 1.9.2
      ios-sim : 6.0.0
      Node : v6.11.2
      npm : 5.3.0
      OS : macOS High Sierra
      Xcode : Xcode 9.2 Build version 9C40b

       

      Plugin version

      4.0.2

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            geoffrey.muselli@gmail.com Geoffrey MUSELLI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: