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

iOS: CameraUsesGeolocation=true throws "Invalid callback id received by sendPluginResult"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Labels:
    • Environment:

      cordova 6.1.0
      cordova-plugin-camera 2.2.0
      iOS 9.3.2

      Description

      iOS: CameraUsesGeolocation=true throws "Invalid callback id received by sendPluginResult"

      situation:

      setting the geolocation to true:

          <preference name="CameraUsesGeolocation" value="true" />
      

      problem:

      creates the following error message:

      Invalid callback id received by sendPluginResult
      

      stacktrace:

      (
      	0   CordovaApp                         0x00000001001259b4 -[CDVCommandDelegateImpl sendPluginResult:callbackId:] + 208
      	1   CordovaApp                         0x00000001000f1eb0 -[CDVCamera imagePickerControllerReturnImageResult] + 1616
      	2   CordovaApp                         0x00000001000f16bc -[CDVCamera locationManager:didUpdateToLocation:fromLocation:] + 1984
      	3   CoreLocation                        0x00000001890c4a14 CLClientGetCapabilities + 22184
      	4   CoreLocation                        0x00000001890c0aac CLClientGetCapabilities + 5952
      	5   CoreLocation                        0x00000001890bae48 CLClientInvalidate + 880
      	6   CoreFoundation                      0x0000000182320f84 <redacted> + 20
      	7   CoreFoundation                      0x00000001823208bc <redacted> + 308
      	8   CoreFoundation                      0x000000018231ed04 <redacted> + 1960
      	9   CoreFoundation                      0x0000000182248c50 CFRunLoopRunSpecific + 384
      	10  GraphicsServices                    0x0000000183b30088 GSEventRunModal + 180
      	11  UIKit                               0x0000000187532088 UIApplicationMain + 204
      	12  CordovaApp                         0x00000001000e97bc main + 76
      	13  libdyld.dylib                       0x0000000181de68b8 <redacted> + 4
      )
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcesarmobile jcesarmobile
                Reporter:
                mobidev3 Michael Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: