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

Camera plugin stuck on white screen

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 4.0.0
    • None
    • cordova-plugin-camera

    Description

      [Bug originally filed by deadlyfingers here: https://issues.apache.org/jira/browse/CB-10179?focusedCommentId=15095578&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15095578
      I just created this issue to track it.]

      ===========

      Encountering an intermittent issue with Camera plugin on iOS since updating to Cordova ios@4.0.1, Camera@2 and WKWebView. This is a very strange camera bug as it happens now and again while testing and I'm having trouble recreating reliably.
      What happens:
      After taking a photo and tapping 'Use Photo' this sometimes results in getting stuck on a white screen. The only option is to close the app at this stage.
      What should happen:
      Return to webview screen.
      Xcode Error log:
      ```
      Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
      Communications error: <OS_xpc_error: <error: 0x19bae4af0>

      { count = 1, contents = "XPCErrorDescription" => <string: 0x19bae4e50> { length = 22, contents = "Connection interrupted" }

      }>
      ```
      Device is iPhone 6+ with iOS9 and I'm using:
      ios@4.0.1
      cordova-plugin-camera@2
      cordova-plugin-wkwebview-engine@1.0.1

      Attachments

        Issue Links

          Activity

            People

              omefire Omar Mefire
              omefire Omar Mefire
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: