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

Swigle commented on CB-10533:
-----------------------------

A litte update from my project.

I re-read the link you gave earlier and tried some other things.
I eventually fixed all the issues, by wrapping all the calls to native plugins 
in the deviceReady event in setTimeout() calls. This fixed the issue 
immediately.

So it seems there is a race condition going on somewhere, or the deviceready 
event is called before everything else (plugins?) are fully loaded.

> [ios]Statusbar plugin freezes/breaks app
> ----------------------------------------
>
>                 Key: CB-10533
>                 URL: https://issues.apache.org/jira/browse/CB-10533
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: cordova 6, cordova for iOS 4.0.1
>            Reporter: Swigle
>              Labels: ios, triaged
>
> I have a Sencha project with cordova implemented.
> When i add the statusbar (2.1.0) to my project, build the app, and run it in 
> xcode simulator the app will freeze immediately en become unresponsive.
> In the debug navigator in xcode i can see the CPU is using near 100% 
> continuously and the amount of memory climbs at a steady pace with about 
> 120MB/s until it crashes completely.
> Removing the plugin immediately fixes this issue and the app works as 
> intended.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to