All Versions
15
Latest Version
Avg Release Cycle
48 days
Latest Release
2810 days ago

Changelog History
Page 1

  • v2.1.6 Changes

    July 18, 2016

    18 Jul 2016

    • โž• added customization of the ping parameters via method NetworkEvents setPingParameters(String host, int port, int timeoutInMs)
  • v2.1.5 Changes

    July 18, 2016

    18 Jul 2016

    • โž• added the private constructor to NetworkHelper class
  • v2.1.4 Changes

    July 16, 2016

    17 Jul 2016

    • ๐Ÿ”„ changed implementation of the OnlineChecker in OnlineCheckerImpl class. Now it pings remote host.
    • โž• added android.permission.INTERNET to AndroidManifest.xml
    • โž• added back NetworkHelper class with static method boolean isConnectedToWiFiOrMobileNetwork(context)
    • โšก๏ธ updated sample apps
  • v2.1.3 Changes

    January 10, 2016

    10 Jan 2016

    • Due to memory leak in WifiManager reported in issue 43945 in Android issue tracker replaced Activity Context with Application Context in sample apps and added appropriate note in README.md
    • added ACCESS_COARSE_LOCATION permission to AndroidManifest.xml to be able to scan WiFi access points on Android 6
  • v2.1.2 Changes

    October 04, 2015

    04 Oct 2015

    • โฌ†๏ธ bumped target SDK version to 23
    • โฌ†๏ธ bumped buildToolsVersion to 23.0.1
    • removed CHANGE_NETWORK_STATE and INTERNET permissions from AndroidManifest.xml, because they're no longer required
  • v2.1.1 Changes

    September 13, 2015
    • โšก๏ธ updated InternetConnectionChangeReceiver class and its API
    • ๐Ÿ›  fixed failing unit tests
    • all changes were provided in a single commit 2f6999c
  • v2.1.0 Changes

    September 13, 2015
    • โฌ†๏ธ bumped version of gradle build tools to 1.3.0
    • disabled WIFI_CONNECTED status when enableInternetCheck() method is called. Read more about this change in appropriate section of README.md file.
  • v2.0.1 Changes

    August 09, 2015

    09 Aug 2015

    replaced networkInfo.isConnectedOrConnecting() with networkInfo.isConnected() in isOnline(context) method in OnlineCheckerImpl class.

  • v2.0.0 Changes

    July 31, 2015
    • โœ‚ removed withPingUrl(url) method
    • โœ‚ removed withPingTimeout() method
    • โœ‚ removed withoutPing() method
    • โœ‚ removed withoutWifiAccessPointsScan() method
    • โœ‚ removed Otto dependency (now, it's available only for unit tests)
    • โœ‚ removed example-disabling-ping-and-wifi-scan app sample
    • โœ‚ removed example-ping-customization app sample
    • โœ‚ removed NetworkHelper class and moved its method to specific classes with changed scope
    • ๐Ÿšš moved permissions to Manifest of library
    • 0๏ธโƒฃ disabled WiFi scan by default
    • 0๏ธโƒฃ disabled Internet connection check by default
    • โž• added BusWrapper, which is abstraction for Event Bus required by NetworkEvents object
    • โž• added example-greenrobot-bus app sample
    • โž• added enableWifiScan() method
    • โž• added enableInternetCheck() method
    • โž• added getWifiScanResults() method in WifiSignalStrengthChanged event
    • โž• added getMobileNetworkType() method in ConnectivityChanged event
    • โž• added JavaDoc at: http://pwittchen.github.io/NetworkEvents/
    • โšก๏ธ updated existing sample applications
    • ๐Ÿ“š updated documentation in README.md and library code
  • v1.0.5 Changes

    May 13, 2015

    13 May 2015

    โฑ In this version, we can customize NetworkEvents object. E.g. we can set our own ping url and ping timeout:

    networkEvents = new NetworkEvents(this, bus)
            .withPingUrl("http://www.android.com")
            .withPingTimeout(50 * 1000);
    

    We can also disable ping or Wifi Access Points Scan:

    networkEvents = new NetworkEvents(this, bus)
            .withoutPing()
            .withoutWifiAccessPointsScan();
    

    In the main repository, we can find new examples of applications showing how to use these methods. โšก๏ธ In addition, internal elements of code (especially NetworkEvents class) were updated and new unit tests were created.