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

Special character cause app crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • cordova-ios@4.3.1
    • None
    • cordova-ios
    • iPad mini4, OS version 10.2.1

    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 ' .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tom.wang.siloon Tom Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified