Comments (3)
Can we focus this issue on how we can do metered? (and maybe rename appropriately?)
In mozilla/standards-positions#117 (comment) you showed that browsers can potentially use OS-level user settings to understand if a Wifi connection should be considered "metered" or not.
The other problem we need to solve is if a cellular connection is considered "expensive". I'm not aware of an OS-level setting on that front, but maybe browsers can ask users that question, or use data limit warnings users set as a proxy.
/cc @tarunban
from netinfo.
+1 to introducing a metered
flag. As mozilla/standards-positions#117 (comment) shows, getting information about this state is possible on several operating systems, both mobile and desktop, and well noting that both cellular networks (e.g., a capped data plan) as well as Wi-Fi networks (e.g., a 250MB access ticket in a hotel) can be metered, plus taking into account the mobile hotspot use case.
from netinfo.
As suggested by @astearns in #91 (comment), wanted to point folks who only track the present issue #84 at #91 (comment), where I propose a reboot of the Network Information API.
from netinfo.
Related Issues (20)
- IANA section with registrations HOT 2
- Somewhat mangled IDL for NetworkInfomation HOT 2
- Fix indent in EXAMPLE 1
- Support .toJSON() on NetworkInformation interface
- Remove [NoInterfaceObject] HOT 2
- Include a separate “metered network” property in addition to “save data” HOT 1
- Netinfo status
- Should we archive this? HOT 21
- Should `effectiveConnectionType` be a fixed set of values? HOT 15
- Revise use cases
- Privacy review and standards track plan HOT 1
- Should ontypechange be added again?
- compatibilité d'affichage mobile HOT 1
- Update repo and spec to show this is no longer being actively incubated HOT 6
- [tomayac/netinfo 🍴] `isMetered` should be `metered` HOT 1
- [tomayac/netinfo 🍴] Remove typedef HOT 1
- [tomayac/netinfo 🍴] Need to document why `sustainedSpeed` can be `Infinity` HOT 1
- Client Hints should get Sec-CH- prefixes HOT 1
- Normative references to discontinued specs in Network Information API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netinfo.