I’m developing an Ionic application. I need to get the IP address of the mobile device. I can get a rope with plugin while the device is connected to Wi-Fi. But I do not know how to get it when the device is connected to 3g. Is there a way to do this or a plugin. I’m waiting for your help
you could use 3rd party services or a native plugin:
- GET https://api.ipify.org/?format=json
- plugin: https://github.com/arenddeboer/phonegap-plugin-ipaddress *
*) credit http://www.gajotres.net/retrieving-ip-adress-using-cordova-without-external-service/, should in my eyes still be working.