From ec03ce30ac06cf2287092c729264ff25eb92ba75 Mon Sep 17 00:00:00 2001 From: Nicholas Clancy Date: Tue, 19 Jun 2018 08:06:16 +1000 Subject: [PATCH] - Update to 2.5.0 - Updated readme to include additional information about iOSConnect --- README.md | 12 ++++++++---- package.json | 2 +- plugin.xml | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a103a83..2275de8 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ -##### Latest Stable Release: v2.4.0 (20/03/2018) -Run `cordova plugin add cordovanetworkmanager@2.4.0` +##### Latest Stable Release: v2.5.0 (19/06/2018) +Run `cordova plugin add cordovanetworkmanager@2.5.0` -##### Latest Dev Release: v2.4.10 (18/06/2018) +##### Latest Dev Release: v2.5.0 (19/06/2018) *Note:* The latest Dev Release may be unstable. It is highly recommend installing from the latest stable release via above. @@ -47,15 +47,19 @@ iOS functionality is limited. It is important to understand the following points - This will not run in the xCode simulator and requires a physical iOS device to be connected to the machine when building. If you don't attach a physical device, the build will fail. - Capabilities 'HotspotConfiguration' and 'NetworkExtensions' needed to be enabled/added to the xCode project prior to building. + -- This plugin will add the capabilities automatically to your xCode project. ```javascript cordovaNetworkManager.iOSConnectNetwork(ssid, ssidPassword, success, fail) ``` +- Returns a promise that will resolve when the network once the success or error callback fires. + -- Prior to resolving the promise, it will check whether or not we are connected to the specified SSID (network) - SSID is the network to connect to - Password is the password of the given SSID + ```javascript cordovaNetworkManager.iOSDisconnectNetwork(ssid, success, fail) @@ -168,7 +172,7 @@ This plugin is in active development. If you are wanting to have the latest and #### Releases -Run ```cordova plugin add cordovanetworkmanager@2.4.0``` +Run ```cordova plugin add cordovanetworkmanager@2.5.0``` diff --git a/package.json b/package.json index 562b2a3..0b61973 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordovanetworkmanager", - "version": "2.4.10", + "version": "2.5.0", "cordova": { "id": "cordovanetworkmanager", "platforms": [ diff --git a/plugin.xml b/plugin.xml index b147d82..2687aeb 100644 --- a/plugin.xml +++ b/plugin.xml @@ -3,7 +3,7 @@ + version="2.5.0"> cordovaNetworkManager Cordova Network Manager for Android and iOS