[
https://issues.apache.org/jira/browse/CB-13527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Brust updated CB-13527:
---------------------------
Description:
Chrome 61+ implemented the Network Information API, but the current
implementation of the cordova-plugin-network-information for browsers does not
respect this API if it's available.
See
https://github.com/apache/cordova-plugin-network-information/blob/master/src/browser/network.js#L25
for how it determines the connection via {{getConnectionInfo}}.
It would be a good improvements if the Network Information API is used if
available.
More information:
* https://wicg.github.io/netinfo/
* https://www.chromestatus.com/feature/6338383617982464
was:
[Chrome v61+](https://www.chromestatus.com/feature/6338383617982464)
implemented the [Network Information API](https://wicg.github.io/netinfo/), but
the current implementation of the cordova-plugin-network-information for
browsers does not respect this API if it's available.
See
https://github.com/apache/cordova-plugin-network-information/blob/master/src/browser/network.js#L25
for how it determines the connection via {{getConnectionInfo}}.
It would be a good improvements if the Network Information API is used if
> Respect Network Information API in browser variant of
> cordova-plugin-network-information
> ----------------------------------------------------------------------------------------
>
> Key: CB-13527
> URL: https://issues.apache.org/jira/browse/CB-13527
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-plugin-network-information
> Reporter: Tim Brust
>
> Chrome 61+ implemented the Network Information API, but the current
> implementation of the cordova-plugin-network-information for browsers does
> not respect this API if it's available.
> See
> https://github.com/apache/cordova-plugin-network-information/blob/master/src/browser/network.js#L25
> for how it determines the connection via {{getConnectionInfo}}.
> It would be a good improvements if the Network Information API is used if
> available.
> More information:
> * https://wicg.github.io/netinfo/
> * https://www.chromestatus.com/feature/6338383617982464
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]