You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2016/12/15 15:33:58 UTC

[jira] [Commented] (CB-12253) Cordova app crashes in ios after a few minutes of starting app without any errors

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

Kerri Shotts commented on CB-12253:
-----------------------------------

Given the nature of the crash, you should have a crash log on the device. Please share that.

I'd remove all your plugins and add them back one at a time. If your app starts crashing after you add a plugin, that plugin (or how you're using it) may be the culprit. If your app crashes even with no plugins, then we can rule out plugins being the cause.

Profile your app's memory using Instruments. Crashing to springboard by a symptom of a  memory leak, and iOS terminates the app due to memory pressure.


> Cordova app crashes in ios after a few minutes of starting app without any errors
> ---------------------------------------------------------------------------------
>
>                 Key: CB-12253
>                 URL: https://issues.apache.org/jira/browse/CB-12253
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Vahid Najafi
>            Priority: Critical
>              Labels: crash, ios, patch, performance
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hi. I developed an app with cordova and ionic. Everything work fine in android and browser. But in *ios* , there is a problem. When I lunch the app (in ios 9.3 and ios 10) , after using about a few minutes, *the app crashes and closes itself*.
>  I use gapDebug for errors, but there is no errors.
> Ionic info: 
> {quote}
> Cordova CLI: 6.4.0
> Gulp version:  CLI version 3.9.1
> Gulp local:
> Ionic Framework Version: 1.3.1
> Ionic CLI Version: 2.0.0
> Ionic App Lib Version: 2.0.0-beta.20
> OS: Windows 7 SP1
> Node Version: v4.5.0
> {quote}
> cordova platform ls:
> {quote}
> Installed platforms:
>   android 4.1.1
>   ios 4.3.1
> Available platforms:
>   amazon-fireos ~3.6.3 (deprecated)
>   blackberry10 ~3.8.0
>   browser ~4.1.0
>   firefoxos ~3.6.3
>   webos ~3.7.0
>   windows ~4.4.0
>   wp8 ~3.8.2 (deprecated)
> {quote}
> cordova plugin ls:
> {quote}
> com.lampa.startapp 0.1.4 "startApp"
> cordova-plugin-camera 2.2.0 "Camera"
> cordova-plugin-compat 1.0.0 "Compat"
> cordova-plugin-console 1.0.3 "Console"
> cordova-plugin-device 1.1.2 "Device"
> cordova-plugin-file 4.3.0 "File"
> cordova-plugin-file-transfer 1.6.0 "File Transfer"
> cordova-plugin-flashlight 3.0.0 "Flashlight"
> cordova-plugin-image-picker 1.1.1 "ImagePicker"
> cordova-plugin-inappbrowser 1.5.0 "InAppBrowser"
> cordova-plugin-network-information 1.3.0 "Network Information"
> cordova-plugin-splashscreen 3.1.0 "Splashscreen"
> cordova-plugin-statusbar 2.1.3 "StatusBar"
> cordova-plugin-whitelist 1.2.2 "Whitelist"
> cordova-plugin-x-socialsharing 5.1.3 "SocialSharing"
> cordova-plugin-x-toast 2.5.2 "Toast"
> ionic-plugin-keyboard 2.2.1 "Keyboard"
> {quote}
> Any idea?



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