Post #4078633
2026-07-18 18:08 UTC
I figured best way to detect I'm connected to home network in Android WorkManager API is to query IP address. If it begins with 192.168.8.X I am home.
I know you probably shouldn't do things that are untrusted anyhow, but it doesn't need location permissions (SSID check requires those).
#Android
Replies (0)
No replies.