How to Ionic application get 3g IP address of mobile device

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:

*) credit http://www.gajotres.net/retrieving-ip-adress-using-cordova-without-external-service/, should in my eyes still be working.

1 Like