Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2514] Android: Find a solution for webview JS load-time issue (availability of Ti.API & Ti.App)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M01
ComponentsAndroid
Labelsandroid, defect, release-1.6.0, rplist
ReporterBill Dawson
AssigneeBill Dawson
Created2011-04-15T03:21:41.000+0000
Updated2011-04-17T01:59:19.000+0000

Description

See #1374 and Helpdesk 55671.

For solution to be viable, it would have to be perfectly cross-platform such that developers could write just one html file to lod in the webview be it a WebView in iOS or iPhone.

Comments

  1. Bill Dawson 2011-04-15

    First check the iOS implementation of the binding for any ideas.

  2. Bill Dawson 2011-04-15

    iOS approach is to inject the binding code to the top of the html before loading it into webview.

  3. Bill Dawson 2011-04-15

    (from [12d7bf6a90db72fa0aebe538c95128c8a0cdc625]) Inject our Ti JS and JSON near beginning of local (and ONLY local) html file contents or html set directly via the html property. [#2153 state:fixed-in-qa][#2514 state:fixed-in-qa][#1635 state:fixed-in-qa][#1036 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/12d7bf6a90db72fa0aebe538c95128c8a0cdc625"> https://github.com/appcelerator/titanium_mobile/commit/12d7bf6a90db...

  4. Bill Dawson 2011-04-15

    Note to QA: failcase / test is same as #2153

  5. Thomas Huelbert 2011-04-15

    Titanium SDK version: 1.6.0 (12/21/10 13:46 8a96481) g2 (2.2) 2.1 sim

JSON Source