Is it possible to communicate asynchronously from a WebView to Titanium? I have done this successfully in the past, using Ti.App.fireEvent(), but in a new Alloy project in Titanium 3.0, it no longer works. Yes, I've read these docs, but they seem to be out of date:
https://wiki.appcelerator.org/display/guides/Communication+Between+WebViews+and+Titanium
I have tried this when running the app in local "preview in web browser" mode, and when the app is served from a web server. The WebView is loaded from a HTML file inside the Titanium project, so according to the docs, Titanium should be available.
The problem is that, in a script in the WebView, Titanium is always undefined.
Any ideas?