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

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

When removing the device plugin (and keeping the splashscreen plugin & 
statusbar plugin) the same thing happens, except the memory fills very slowly 
instead of the absurd rate mentioned earlier.

I'm using the following versions of plugins:
com.connect.cordova.plugin.email-composer 0.8.3dev "EmailComposer"
cordova-plugin-crosswalk-webview 1.5.0 "Crosswalk WebView Engine"
cordova-plugin-dialogs 1.2.0 "Notification"
cordova-plugin-file 4.1.0 "File"
cordova-plugin-file-transfer 1.5.0 "File Transfer"
cordova-plugin-inappbrowser 1.2.0 "InAppBrowser"
cordova-plugin-splashscreen 3.1.0 "Splashscreen"
cordova-plugin-statusbar 2.1.0 "StatusBar"
cordova-plugin-whitelist 1.2.1 "Whitelist"
cordova-plugin-device@~1.1.1
cordova-plugin-x-socialsharing 5.0.10 "SocialSharing"
phonegap-plugin-push 1.5.3 "PushPlugin"

When first encountering this error, i removed all plugins and then added all 
plugins one by one to see when it would break. It only broke when adding the 
statusbar.

In the deviceReady event i call statusbar.backgroundcolorbyhexstring(), but i 
tried removing this line, but it still breaks. No other native calls are made 
at that time.

The splashscreen gets hidden automatically, and this still works, even when 
fading.

Currently i have no time to create a test sample, maybe next week.
Other versions i'm using are:
cordova -v = 6.0.0

cordova platforms
Installed platforms: android 5.1.0, ios 4.0.1


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