by Patrick Corgan
By Patrick Corgan.
This flow is based on "What's My IP" by Andy Martino. This version displays both IPs and the device MAC in a dialog window and takes out some extra blocks. I also changed the private IP retrieval code so that it works with WiFi or mobile data.
Andy Martino for public IP ("What's My IP")