Releases: tripflex/WifiWizard2
Releases · tripflex/WifiWizard2
v3.1.0 Release
3.1.0 - August 28, 2018
- Fixed/Added compatibility with iOS to connect to open network
- Fixed Uncaught SyntaxError in JavaScript from using let (changed to var)
- Fixed main thread blocked while connecting to a network by connecting asynchronously (props @jack828)
- Add isHiddenSSID config for connecting Android devices to hidden networks (props @jack828)
- Update iOSConnectNetwork to return real response in promise (props @saoron)
- Correct iOS SSID comparison (props @saoron)
- iOS Add HotspotConfiguration & NetworkExtension capabilities automatically (props @saoron)
- Removed
jdk.nashorn.internal.codegen.CompilerConstants
import (props @jack828) - Reduce connection retry count from 60 -> 15 (props @jack828)
- Fixed
Object cannot be converted to int
in Android code (props @xLarry) - Props to @arsenal942 @jack828 @xLarry @saoron for contributions
v3.0.0 Release
3.0.0 - April 12, 2018
- Completely refactored JS methods, all now return Promises
- Added
getWifiIP
andgetWifiIPInfo
functions - Added
getWifiRouterIP
function - Changed method names to be more generalized (
connect
instead ofandroidConnectNetwork
, etc) - Added
requestPermission
and automatic request permission when call method that requires them - Added
isConnectedToInternet
to ping8.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 usebindProcessToNetwork
for Marshmallow (API 23+) andsetProcessDefaultNetwork
for Lollipop (API 21-22) More Details - Converted
connect
to helper method that callsformatWifiConfig
thenadd
thenenable
- Converted
disconnect
to helper method that callsdisable
thenremove
- 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!
v2.1.1 Release
2.1.1 - 1/9/2018
- Added Async Promise based methods
- Fix issue with thread running before wifi is fully enabled
- Added thread sleep for up to 10 seconds waiting for wifi to enable
2.1.0 - 1/8/2018
- Added Async Promise based methods
- Fixed incorrect Android Cordova exec methods incorrectly being called and returned (fixes INVALID ACTION errors/warnings)
- Updated javascript code to call
fail
callback when error detected in JS (before calling Cordova) - Moved automagically enabling WiFi to
exec
actions (before actions called that require wifi enabled) - Added
es6-promise-plugin
cordova dependency to plugin.xml - Only return
false
in Cordova Androidexecute
when invalid action is called
Issue #1 - Added JS doc blocks to JS methods
- Added Async example code
2.0.0 - 1/5/2018
- Added automatic disable of currently connected network on connect call (to prevent reconnect to previous wifi ssid)
- Added initial
disconnect()
before andreconnect()
after disable/enable network on connect call - Added
getConnectedNetworkID
to return currently connected network ID - Added
verifyWiFiEnabled
to automatically enable WiFi for methods that require WiFi to be enabled - Strip enclosing double quotes returned on getSSID (android) @props lianghuiyuan
- Fixed Android memory leak @props Maikell84
- Add new ScanResult fields to results (centerFreq0,centerFreq1,channelWidth) @props essboyer
- Added getConnectedBSSID to Android platform @props caiocruz
- Added isWiFiEnabled implementation for ios @props caiocruz
- Android Marshmallow Location Permissions Request @props jimcortez
- Only return connected SSID if supplicantState is COMPLETED @props admund1
- Added support for WEP @props adamtegen
- Fix null issues with getConnectedSSID @props jeffcharles
- Added
scan
method to return networks in callback @props jeffcharles - Call success callback after checking connection (on connect to network) @props jeffcharles