Michael Schmidt created CB-11376:
------------------------------------

             Summary: iOS: CameraUsesGeolocation=true throws "Invalid callback 
id received by sendPluginResult"
                 Key: CB-11376
                 URL: https://issues.apache.org/jira/browse/CB-11376
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
    Affects Versions: 2.2.0
         Environment: cordova 6.1.0
cordova-plugin-camera 2.2.0
iOS 9.3.2
            Reporter: Michael Schmidt
            Priority: Critical


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
)
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to