Titanium: Embedding a website in a WebView producing "Maximum call stack size exceeded"
However, opening the same website within the browser works fine. The error only occurs using Android (Both simulator and device).
Is there a way to increase the callstack size for the WebView component in android devices?
When the call stack exceeds, it is not because the call stack is too small, it usually always is because you have an infinite loop. So say you monitor the load event of the WebView, and you change url based on that, it will load again, url will change again, etc.
Again, call stack exceeds is almost always due to infinite loop. Check your code properly!