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

iOS cordova app crashes on stringByEvaluatingJavaScriptFromString: in the class CDVCommandDelegateImpl.m.

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 3.7.0
    • cordova-ios
    • None
    • iOS 7

    Description

      The app is been developed using the Cordova version 3.2 and with iOS versions 6 and 7.
      In the app APNS is been supported, so in order to support the APNS feature we have to sent the status to server when the app goes to the foreground . For this support we requested the OS to extend the execution time () so that app can send the status to the server. In mean time if the app rest a while in the background and comes to the foreground let say some 30 mins or one hour ,the app crashes out with exception EXC_BAD_ACCESS.

      The crash report says that the exception is been caught in the CDVCommandDelegaetImpl class in the method evalJsHelper2: for the API i.e stringByEvaluatingJavaScriptFromString:.

      Attachments

        1. Screen Shot 2014-05-31 at 3.11.09 PM.png
          373 kB
          Geetha
        2. Crash_Report.txt
          14 kB
          Geetha
        3. Call Mobile_CrashReport.txt
          19 kB
          Geetha

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shazron Shazron Abdullah
            Geetha Jai Geetha
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment