Apparently apps now need the “Nearby devices” permission to be able to access sites hosted on your local network. I just spent forever trying to figure out why firefox wouldn’t load my local nextcloud instance. Hopefully this post saves someone else that pain. Local network permission in Android 17

  • darklamer@feddit.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 hour ago

    For someone like me who doesn’t want any app to touch my local network without my knowledge and explicit approval, this is a very welcome change.

    • 51dusty
      link
      fedilink
      English
      arrow-up
      3
      ·
      26 minutes ago

      100%

      IMO, “nearby devices” is bad wording and the icon is the same one as NFC, IIRC.

      on my laptop it’ll say something like “local network” which is more intuitive.

  • CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    2 hours ago

    Setting up some domains that resolve to the local addresses might be worth your while now, otherwise youll have to change that setting on every device.

    • irotsoma@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 minutes ago

      It doesn’t matter if the URL you enter is a local IP address or a domain that resolves to a local address. Both get blocked.

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 hour ago

      That still ends up on the local net - wouldn’t it still be blocked because (I assume) it’s blocking any local IP?

      I mean what kind of nonsense is this?

      • CameronDev@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 minutes ago

        I will check, but I believe the intent is to prevent JavaScript from network/port scanning your network. So if you connect via DNS, thats allowed, but using the same IP directly is forbidden.

        I will test and get back to you. (I can’t test, I dont have any android 17 devices, sorry)