You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/02/26 23:36:15 UTC

[jira] [Commented] (CB-2587) Investigate possible startup time issue for config.xml plugin "onload" attribute

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

Andrew Grieve commented on CB-2587:
-----------------------------------

An alternative is to document that plugins should use the thread pool from within pluginInitialize if they want to do non-trivial work. None of the core plugins (except splash screen) even use pluginInitialize, and I think splashScreen requires that it be called on the UI thread.
                
> Investigate possible startup time issue for config.xml plugin "onload" attribute
> --------------------------------------------------------------------------------
>
>                 Key: CB-2587
>                 URL: https://issues.apache.org/jira/browse/CB-2587
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> The loading of plugins on iOS is synchronous. We might want to load the plugins async just in case the initWithWebView and/or pluginInitialize functions take a long time.
> I added a note to the 2.5.0 iOS Plugin Upgrade Guide for this possibility.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira