facebookarchive / network-connection-class

Listen to current network traffic in the app and categorize the quality of the network.
Other
3.19k stars 515 forks source link

Add hysteresis on value in addition to the minimum number of samples. #12

Closed zlern2k closed 9 years ago

zlern2k commented 9 years ago

This prevents the connection class from bouncing around when someone has a connection that is right around one of the boundaries and wavering from one side of the line to the other.

Bump the library version up to 1.0.2.

SeyelentEco commented 9 years ago

I don't think you should bump the library version in this pull request. We will bump it in a commit by itself with a few other changes / fixes. Can you remove that part of the commit? Otherwise it's good to go.

zlern2k commented 9 years ago

Sure. Will revert the version bits.