[ 
https://issues.apache.org/jira/browse/CB-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Zubkou updated CB-487:
----------------------------

    Description: 
On a cordova-android project native side waits before client signals that it is 
ready. This allows to asynchronously load cordova-js code.

But on a cordova-ios project developer must include script tag into HTML to 
synchronously load cordova-js because native side expects that it will be 
available when executing [CDVViewController webViewDidFinishLoad].

Is it possible to unify this functionality among platform, to not expect that 
cordova-js will be ready before DOMContentLoad?

  was:
On a cordova-android project native side waits before client signals that it is 
ready. This allows to asynchronously load cordova-js code.

But on a cordova-ios project developer must include script tag into HTML to 
synchronously load cordova-js because native side expects that it will be 
available when executing [CDVViewController webViewDidFinishLoad].

Is it possible to unify this functionality among platform, to not except that 
cordova-js will be ready before DOMContentLoad?

    
> Call to Device.setInfo() from cordova-ios disables asynchronous loading of a 
> cordova-js
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-487
>                 URL: https://issues.apache.org/jira/browse/CB-487
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0
>            Reporter: Pavel Zubkou
>            Assignee: Shazron Abdullah
>
> On a cordova-android project native side waits before client signals that it 
> is ready. This allows to asynchronously load cordova-js code.
> But on a cordova-ios project developer must include script tag into HTML to 
> synchronously load cordova-js because native side expects that it will be 
> available when executing [CDVViewController webViewDidFinishLoad].
> Is it possible to unify this functionality among platform, to not expect that 
> cordova-js will be ready before DOMContentLoad?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to