GetRouterIPAddress

This plugin allows your application to retrieve the router's IP adress.
vallieres1.0.02
platforms: ios
$ cordova plugin add com.vallieres.plugin.getrouteripaddress

cordova-plugin-get-router-ip-address

Cordova (PhoneGap) plugin to fetch the router's IP address. Presently only for iOS, Android to follow.

Instructions

Cordova 3.X (command line)

cordova plugin add https://github.com/vallieres/cordova-plugin-get-router-ip-address

Cordova 2.9 and earlier

Add *.h, *.m to your project and *.js to www/ directory.

Add node to config.xml:

<feature name="com.vallieres.plugin.getrouteripaddress">
    <param name="ios-package" value="CDVGetRouterIPAddress"/>
</feature>

Example

There is a simple example available, it should simple output the router IP address in the console and in the Device Ready flashing green message in the Simulator/Device.

Legal

cordova-plugin-get-router-ip-address is licensed with Apache License v2.0. (same as Cordova, for license see http://www.apache.org/licenses/LICENSE-2.0)

Copyright (c) 2015 Alexandre Vallières-Lagacé alexandre.valliereslagace@gmail.com.