• out@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    The WireGuard and tailscale apps work great for me without a persistent notification.

    WireGuard doesn’t support notifications at all. Tailscale does and by default it shows a persistent notification but you can just silence it or turn it off in the apps notification settings.

    Persistent notification thus seems to be unnecessary for VPNs to function, Google/Android dev documentation recommends a persistent notification for the UX but it’s not needed. https://developer.android.com/guide/topics/connectivity/vpn

    In conclusion it appears that third party apps can indeed provide a VPN service without a notification.

    • limerod@reddthat.comM
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Unfortunately, that will mean your app can be killed on many smartphones from device makers like xiaomi, Oppo, and huawei, which have aggressive battery optimization. I had this issue on a redmi device where background apps would be killed unless a permanent notification was present.

      The WireGuard and tailscale apps work great for me without a persistent notification.

      I haven’t tried wireguard. But, I should give them a try and see how it goes in samsung.