[TIMOB-2514] Android: Find a solution for webview JS load-time issue (availability of Ti.API & Ti.App)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M01 |
Components | Android |
Labels | android, defect, release-1.6.0, rplist |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-04-15T03:21:41.000+0000 |
Updated | 2011-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
- Bill Dawson 2011-04-15
First check the iOS implementation of the binding for any ideas.
- Bill Dawson 2011-04-15
iOS approach is to inject the binding code to the top of the html before loading it into webview.
- 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...
- Bill Dawson 2011-04-15
Note to QA: failcase / test is same as #2153
- Thomas Huelbert 2011-04-15
Titanium SDK version: 1.6.0 (12/21/10 13:46 8a96481) g2 (2.2) 2.1 sim