cordova-plugin-get-router-ip-address icon indicating copy to clipboard operation
cordova-plugin-get-router-ip-address copied to clipboard

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

cordova-plugin-get-router-ip-address

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

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é [email protected].