zaneschepke / wgtunnel

An alternative Android client app for WireGuard VPN
https://zaneschepke.com/wgtunnel-docs
MIT License
732 stars 41 forks source link

[BUG] - WG Tunnel opens every time a Tasker intent has been executed #275

Closed Dondrejohnson5 closed 1 month ago

Dondrejohnson5 commented 1 month ago

Describe the bug Any time a WG Tunnel intent in tasker is executed, the WG app opens, intrusively interrupting my previous activities on screen. This can cause major problems when meaning to execute tunnel change via Tasker in the background and are in the middle of another activity, such as a mobile game or watching on a streaming platform

Smartphone (please complete the following information):

To Reproduce Steps to reproduce the behavior:

1: Import a tunnel 2: in main Settings tab, "enable app shortcuts" 3: as shown in the screenshot below, fill out all necessary fields for the Send Intent action in Tasker

4: Start the Tasker activity

Expected behavior I expect that WG Tunnel will handle receiving the Tasker intent and act accordingly in the background, even with a toast message, without unnecessarily opening up the app in order to act upon the intent.

Screenshots (Only if necessary) Screenshot_20240725-231340_Tasker

Additional context Add any other context about the problem here.

zaneschepke commented 1 month ago

Hey! I don't have tasker to test this, but I made some changes that I think might fix it. Could you try it out when you get a chance? https://github.com/zaneschepke/wgtunnel/releases/tag/issue-275

Dondrejohnson5 commented 1 month ago

I have recently installed this update and it seems that it has fixed the problem. Thank you