Issue with getting connection state.

I have a splash page, which only has a single image on it.

On load, I have the following custom JS:

alert('test');
//var type = navigator.network.connection.type;
//alert(type);

The "test" alert works, if I comment out the two lines for the type.
If I attempt to get the connection type by uncommenting the last two lines, the page just hangs on a white screen and nothing happens.

I have only tested this in the Tiggzi Tester for iPhone as I cannot get the one for Android to work. (posted a separate topic for that).

I'm happy to provide any additional info that is needed.

Thanks!
1 person has
this problem
+1
This topic is no longer open for comments or replies.