[AC-1156] Webview not working on Android Kitkat 4.4.2
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2014-08-26T04:41:45.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android |
| Reporter | James Coates |
| Assignee | Mauro Parra-Miranda |
| Created | 2014-07-25T22:42:55.000+0000 |
| Updated | 2016-03-08T07:37:31.000+0000 |
Description
Attempted to run sample RSS Reader (com.appcelerator.sample.rss) with breakpoint at /ui/common/DetailView.js line 4: var webview = Ti.UI.createWebView();
Debug step causes crash with:
WebViewFactory: error loading provider
[ERROR] : WebViewFactory: java.lang.ClassNotFoundException: com.android.webview.chromium.WebViewChromiumFactoryProvider
Hello, We have tested this issue with our sample code. It’s working on Android Kitkat 4.4.2, Kitkat 4.4.3 etc. *TESTING ENVIRONMENT:* Titanium SDK: 3.3.0.GA and 3.2.3.GA Titanium CLI: 3.3.0 OS X Version: 10.9.3 Android device: Google Nexus 7 (Kitkat 4.4.3) Android API Level: 17 and 19 *STEPS TO REPRODUCE:* a) Create a simple project. b) Update this code in app.js like /ui/common/DetailView.js c) Run this with testing environment *TESTING CODE:*
*TESTING RESULT:* Its working fine on Android Kitkat device.var window = Titanium.UI.createWindow(); var self = Ti.UI.createView(); var webview = Titanium.UI.createWebView({ url : 'http://www.appcelerator.com' }); self.add(webview); window.add(self); window.open({ modal : true });Tested and it's working as expected. If reporter provides a testcase we can reopen it.