Skip to content

v3.0.0 Release

Compare
Choose a tag to compare
@tripflex tripflex released this 12 Apr 20:29
· 64 commits to master since this release

3.0.0 - April 12, 2018

  • Completely refactored JS methods, all now return Promises
  • Added getWifiIP and getWifiIPInfo functions
  • Added getWifiRouterIP function
  • Changed method names to be more generalized (connect instead of androidConnectNetwork, etc)
  • Added requestPermission and automatic request permission when call method that requires them
  • Added isConnectedToInternet to ping 8.8.8.8 and verify if wifi has internet connection
  • Added canPingWifiRouter to ping wifi router IP obtained through DHCP information
  • Added bindAll feature to use bindProcessToNetwork for Marshmallow (API 23+) and setProcessDefaultNetwork for Lollipop (API 21-22) More Details
  • Converted connect to helper method that calls formatWifiConfig then add then enable
  • Converted disconnect to helper method that calls disable then remove
  • Updated add method to set priority of added wifi to highest priority (locates max priority on existing networks and sets to +1)
  • Completely refactored and updated all documentation and examples
  • Added ping Android Java code for possible new methods to ping custom IP/URL (in upcoming releases)
  • Updated all error callbacks to use detectable strings (for custom error messages, instead of generic ones)
  • DO NOT upgrade from version 2.x.x without reading ENTIRE README! Method/Function names have all been changed!