cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmidt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11376) iOS: CameraUsesGeolocation=true throws "Invalid callback id received by sendPluginResult"
Date Sun, 19 Jun 2016 20:28:05 GMT

    [ https://issues.apache.org/jira/browse/CB-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338784#comment-15338784
] 

Michael Schmidt commented on CB-11376:
--------------------------------------

{code}
2016-06-19 22:14:11.421 DemoApp[1696:1118671] Warning: Attempt to present <CDVCameraPicker:
0x13c8bc000> on <MainViewController: 0x13c61bb90> whose view is not in the window
hierarchy!
2016-06-19 22:14:50.033 DemoApp[1696:1118671] Invalid callback id received by sendPluginResult
{code}

- the first warning appears on opening the camera view
- the second warning appears after taking a picture with the camera (tap "use photo")

both warnings appear always consistently. 

upon setting "CameraUsesGeolocation" to "false" they don't appear.


> 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
>              Labels: iOS, triaged, wfc
>
> iOS: CameraUsesGeolocation=true throws "Invalid callback id received by sendPluginResult"
> situation:
> setting the geolocation to true:
> {code}
>     <preference name="CameraUsesGeolocation" value="true" />
> {code}
> problem:
> creates the following error message:
> {code}
> Invalid callback id received by sendPluginResult
> {code}
> stacktrace: 
> {code}
> (
> 	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
> )
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message