Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
- Update to 2.5.0
Browse files Browse the repository at this point in the history
- Updated readme to include additional information about iOSConnect
  • Loading branch information
Nicholas Clancy committed Jun 18, 2018
1 parent ab867cd commit ec03ce3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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```



Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordovanetworkmanager",
"version": "2.4.10",
"version": "2.5.0",
"cordova": {
"id": "cordovanetworkmanager",
"platforms": [
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordovanetworkmanager"
version="2.4.10">
version="2.5.0">

<name>cordovaNetworkManager</name>
<description>Cordova Network Manager for Android and iOS</description>
Expand Down

0 comments on commit ec03ce3

Please sign in to comment.