VPN does not get turned on when disconnecting from wifi
When my phone connects to the configured wifi network, the VPN always gets turned off as expected, but disconnecting from this network never gets the VPN tunnel enabled, except if the app is opened.
I dont see any log messages in the logcat regarding the app (when searching for package name and PID) when testing with the app in background, but the "WG Auto Connect is running" notification is always visible in the Silent section.
This is happening on an Android 14 phone.
Same problem here running Android 14 (LineageOS 21).
I am having the same issue S23 U Android 14 One UI 6.1. I did some detailed logging and it all appears to be firing correctly and logically. It What do our phones have in common?
I started an emulator to try to get it to work in stock environment. It is user error. There is a setting inside the wireguard app called "Allow Remote Control Apps" under Advanced - Enable this and it works fine.
This is written in the app, its one of the first things, if you read.
I did that, but it did not make a difference. Switched to https://github.com/wgtunnel/wgtunnel since then and it worked out of the box.
I have fixed two bugs in the code for this app so far, but there are no maintainers here. Nobody but us. So i'll give that a try, I had no idea it existed. Thank you so much!
@testuser4433 I'm not aware of any bugs atm, happy to look into a PR though if you create one 👍
I started an emulator to try to get it to work in stock environment. It is user error. There is a setting inside the wireguard app called "Allow Remote Control Apps" under Advanced - Enable this and it works fine.
Thats already enabled, otherwise it couldnt disable the tunnel either
I'm not aware of any bugs atm, happy to look into a PR though if you create one 👍
I'm planning to look into this, the question is just when do I get around to it.