None of these methods are working for me on device. I have 'always connected' regardless if I am actually connected or not and I'm doing an AJAX check to
every 2 seconds. (I tried various other websites too)
Like everyone said the browser event doesn't work on a device and nor does the PlatformInfo.ConnectionRTT method work (always returns 0 on device).
Regarding CORS if I add a header "Access-Control-Allow-Origin" "*" then I just get Not COnnected all the time.
I also tried various plugins of which all had other compatibility issues.
I would have thought this was a very commonly used feature in most mobile games, so I'm surprised there isn't an obvious solution.
Where to turn next?