[
https://issues.apache.org/jira/browse/CB-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288895#comment-13288895
]
Filip Maj commented on CB-487:
------------------------------
I don't think this should be something that the cordova-ios project works to
get in as a "feature". It probably wouldn't get past Apple review anyways
(airplane mode, cordova.js fails to load, app fails to load, Apple rejects it).
Only in very few edge cases do our Android users load in cordova.js
asynchronously. This is not a use case we want to support let alone recommend.
> 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 except 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