Hi,
This gets the public IP address, I’m looking for my internal one i.e. 192.168.1.123
What I meant by external device info in the above post was data from outside the webapp, not the external IP, sorry for any confusion.
I did some reading and it seems like getting the local IP through any kind of API (or even JS) is a security issue and unsupported by most methods.
So I’m looking into alternatives such as:
- Running android on the raspberry pi so I can export the android app and use one-signal’s ID to register the device
- Creating separate projects (though I already have 50 apps…)