WebView error event no firing in Android
I am more or less creating a wrapper program for a web app. I am trying to do some navigation and error handling with in the Titanium Native UI calls. I want to catch web errors such as 500 and 404 with in the Native UI to give better error messages then just a web error page. I have created a webView and added an event listener for the error event. On the iPhone the event fires, but on Android the event does not fire and I only get a page with in the webView that says "Web Page not Available". Has any one had any luck getting around this?
5 Answers
-
Bump.
-
There is still no error event being fired in a webView for Android. (which I really need to be able to catch)
-
Same issue
-
same with me
-
This has yet to be committed, but it will fix this issue, if you're happy to hack your own SDK:
https://github.com/kosso/titanium_mobile/commit/7d098eb5147d6883017281f045266cac2f396e19