Cordova (PhoneGap) plugin to fetch the router's IP address. Presently only for iOS and Android.
cordova plugin add https://github.com/vallieres/cordova-plugin-get-router-ip-address
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>
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.
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.