network-interface-plugin

Network Interface Plugin

Stable version 1.0.2 (Compatible with OutSystems 11)
Other versions available for 10
Published on 27 April 2018 by 
3.7
 (3 ratings)
network-interface-plugin

Network Interface Plugin

Details
A native plugin to obtain device's IP Address on a mobile application. Implements cordova-plugin-networkinterface.
Read more

A native plugin to obtain device's IP Address on a mobile application. Implements cordova-plugin-networkinterface.


The plugin creates the object networkinterface with the methods:

  • getWiFiIPAddress(onSuccess, onError)
  • getCarrierIPAddress(onSuccess, onError)
  • getIPAddress(onSuccess, onError)
    • Author's note: since this is deprecated, I've implemented the following logic:
      • If WIFI returns address, return wifi; if not, return carrier.


Based on https://github.com/salbahra/cordova-plugin-networkinterface

What’s new (1.0.2)

Forked repository to avoid undesired changes.

Reviews (0)