cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Higgins <>
Subject navigator.onLine
Date Fri, 18 Jan 2013 20:39:28 GMT
On BlackBerry 10, there is a native implementation of navigator.onLine. This is a more reliable
test than checking connection.type. For example, the device could be connected to BlueTooth,
but WebKit has no network connectivity.

Is there a reason we override this for other platforms? I understand the need to polyfill
for platforms on which this isn't available.

This transmission (including any attachments) may contain confidential information, privileged
material (including material protected by the solicitor-client or other applicable privileges),
or constitute non-public information. Any use of this information by anyone other than the
intended recipient is prohibited. If you have received this transmission in error, please
immediately reply to the sender and delete this information from your system. Use, dissemination,
distribution, or reproduction of this transmission by unintended recipients is not authorized
and may be unlawful.

View raw message