[
https://issues.apache.org/jira/browse/CB-12471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Wang updated CB-12471:
--------------------------
Description: My IOS application using cordova location plugin
cordova-plugin-geolocation(https://github.com/apache/cordova-plugin-geolocation).
If disabled WIFI and device in build cause app can not get any location
data then locationManger reports 'The operation couldn’t be completed.
(kCLErrorDomain error 0.)', the location plugin call cordova method
[self.commandDelegate sendPluginResult:result callbackId:callbackId]; returns
the error message. then app get crashed with "libc++abi.dylib: terminating
with uncaught exception of type std::logic_error: basic_string::_S_construct
NULL not valid" in console, there is not stack trace. So seems cordova
framework current can not handling special character ' couldn’t ' . (was:
My IOS application using cordova location plugin
cordova-plugin-geolocation(https://github.com/apache/cordova-plugin-geolocation).
If disabled WIFI and device in build cause app can not get any location
data then locationManger reports 'The operation couldn’t be completed.
(kCLErrorDomain error 0.)', then the location plugin call cordova method
[self.commandDelegate sendPluginResult:result callbackId:callbackId]; returns
the error message. So seems cordova framework current can not handling
special character ' couldn’t ' . )
> Special character cause app crash
> ----------------------------------
>
> Key: CB-12471
> URL: https://issues.apache.org/jira/browse/CB-12471
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: [email protected]
> Environment: iPad mini4, OS version 10.2.1
> Reporter: Tom Wang
> Priority: Critical
> Labels: newbie
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> My IOS application using cordova location plugin
> cordova-plugin-geolocation(https://github.com/apache/cordova-plugin-geolocation).
> If disabled WIFI and device in build cause app can not get any
> location data then locationManger reports 'The operation couldn’t be
> completed. (kCLErrorDomain error 0.)', the location plugin call cordova
> method [self.commandDelegate sendPluginResult:result
> callbackId:callbackId]; returns the error message. then app get crashed
> with "libc++abi.dylib: terminating with uncaught exception of type
> std::logic_error: basic_string::_S_construct NULL not valid" in console,
> there is not stack trace. So seems cordova framework current can not
> handling special character ' couldn’t ' .
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]