GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-14T08:07:02.000+0000 |
Affected Version/s | Release 2.1.1 |
Fix Version/s | Release 3.0.0, Sprint 2012-19 Core, 2012 Sprint 19 |
Components | Android |
Labels | core, module_webview, qe-review, qe-testadded |
Reporter | Anirudh Nagesh |
Assignee | Allen Yeung |
Created | 2012-08-10T12:39:35.000+0000 |
Updated | 2019-07-18T10:57:27.000+0000 |
Run the attached app.js and sample test.html file.
The Ti namespace does not work after webview reload.
works fine on ios.
More detailed testing instructions:
1. Add the app.js above (NOT the one attached to this ticket), and also add the 'test.html' attached. Both should be under the Resources directory. 2. Run the app and click on load html ('test0' should load in the webview) 3. Click on Log Message, and confirm that the hello message appears in logcat 4. Click on reload webview 5. Click on Log Message and confirm that the hello message appears in logcat Actual Results: The hello message does not appear after the reload Actual Results: The hello message appears after the reload NOTE: I have also added a 'remote load webview' button, which will load a remote URL. Clicking log message after loading a remote webview SHOULD NOT display the hello message. This is because we do not inject Titanium APIs for remote webviews.
Verified On: Titanium Studio: 3.0.0.201210220122 Titanium SDK: 3.0.0.v20121024144610 Android Device: Galaxy Duos(v2.3.6), Galaxy Tab(v3.2), Galaxy Nexus(v4.0.4)