I am using tiws module for Titanium in Android and it works fine, but when android device is disconnected due to lack of WiFi or 3G network show the error
I am using Titanium Studio, build: 3.4.0.201409261227
[ERROR] : TiExceptionHandler: (main) [151,9001] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [1,9002] - In socket.io.js:1,69 [ERROR] : TiExceptionHandler: (main) [0,9002] - Message: Uncaught Error: Java Exception occurred [ERROR] : TiExceptionHandler: (main) [0,9002] - Source: ){t.websocket.send(e)},1e4),this}:function(e){return this.websocket.send(e),th [ERROR] : V8Exception: Exception occurred at socket.io.js:1: Uncaught Error: Java Exception occurred [INFO] : is online? false
I tried detect network change before the error but its detected after
Ti.Network.addEventListener('change', function(e) { Ti.API.log('is online? ' + e.online); });
Can anyone give me suggestion what kind of error is this?
Thanks