cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Craige (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6843) iOS cordova app crashes on stringByEvaluatingJavaScriptFromString: in the class CDVCommandDelegateImpl.m.
Date Tue, 03 Jun 2014 17:38:02 GMT

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

Jake Craige commented on CB-6843:
---------------------------------

I've also had a similar issue. It seems to happen after some time of leaving the app in an
idled state. In my case, I have a custom InAppBrowser plugin and when I close it and it tries
to callback to the MainViewController this exception gets thrown

> iOS cordova app crashes on stringByEvaluatingJavaScriptFromString: in the class CDVCommandDelegateImpl.m.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6843
>                 URL: https://issues.apache.org/jira/browse/CB-6843
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS 7 
>            Reporter: Geetha
>            Priority: Critical
>         Attachments: Call Mobile_CrashReport.txt, Crash_Report.txt, Screen Shot 2014-05-31
at 3.11.09 PM.png
>
>
> 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:.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message