android-client icon indicating copy to clipboard operation
android-client copied to clipboard

[Feature Request] android intents

Open N4v41 opened this issue 3 months ago • 1 comments

Add intents to the app for connect and disconnect

N4v41 avatar Sep 11 '25 19:09 N4v41

Can you share more context here?

mlsmaycon avatar Sep 11 '25 19:09 mlsmaycon

Just came across this and while I can't speak to the original message my guess would be that it's so that an app like Tasker can connect or disconnect Netbird depending on certain criteria. I've personally been testing Netbird as a potential replacement for Tailscale and with Tailscale they have implemented CONNECT_VPN and DISCONNECT_VPN intents that Tasker can then use. Some examples of ways that I've used intents with Tasker include:

  • Connecting the VPN when I connect to any network that isn't my home network
  • Disconnecting the VPN when I connect to my home network
  • Connecting the VPN when I unlock the phone so that if it has disconnected while asleep it will automatically restart the connection

I've not really looked at Android Intents from a developer perspective before but here is some basic information from the Android developer information, https://developer.android.com/guide/components/intents-filters. I know the Always on VPN settings in Android are possible, but I prefer the Tasker approach with intents that can connect or disconnect based on a number of different criteria.

ahsokatoa avatar Dec 03 '25 21:12 ahsokatoa

Thanks for sharing @ahsokatoa. We are looking into supporting it soon. We will come back if we have any questions.

mlsmaycon avatar Dec 15 '25 17:12 mlsmaycon