monkeyswarm / MobMuPlat

MobMuPlat is an iOS & Android app to host PureData patches with custom visual interfaces and hardware access.
www.mobmuplat.com
Other
185 stars 25 forks source link

Device IP shows IP from mobile network, not local WiFi #82

Open blindmanonacid opened 2 years ago

blindmanonacid commented 2 years ago

This is on Android (LineageOS 18.1). I can get around it by turning off mobile data, then it displays the WiFi IP.

monkeyswarm commented 2 years ago

On Android, the app just looks up the first valid IP address via https://developer.android.com/reference/java/net/NetworkInterface#getNetworkInterfaces() so there isn't support for choosing the IP between multiple connected networks. Will keep this open as a feature request going forward.