Skip to content

v1.2.2 – Android 17: local network permission fix

Choose a tag to compare

@Juju-archy Juju-archy released this 05 Nov 21:05
· 5 commits to main since this release

Bug-fix release for Android 17.

🛜 Reaching a NAS on your local network on Android 17

Android 17 introduces Local Network Protections: apps targeting SDK 37 can't open connections
to LAN addresses (e.g. 192.168.x.x, 10.x.x.x) until the user grants the new
ACCESS_LOCAL_NETWORK permission ("Nearby devices / local network"). As a result, logging in
to a TrueNAS server on the local network simply timed out, with no explanation (#5).

What changes:

  • The permission is declared, and requested the first time you tap "Log in"
  • Login is never blocked by it: an address reached over the Internet or a VPN doesn't need it,
    so the login attempt goes ahead whatever your answer
  • If a NAS on your local network can't be reached while the permission is missing, a notice
    explains why
    , with an "Allow access" button (or "Open settings" if the system no longer
    shows the prompt), on both the login screen and the dashboard
  • No change on Android 16 and earlier, where this permission doesn't exist

🧹 Under the hood

  • The "Log in" button can no longer start a connection with empty fields
  • New unit tests for detecting network errors

Full Changelog: v1.2.1...v1.2.2