dovecoteescapee / ByeDPIAndroid

Application that start a local VPN service to bypass DPI and censorship.
GNU General Public License v3.0
811 stars 44 forks source link

[Feature Request] Autostart on boot #6

Open Rajdave69 opened 1 month ago

Rajdave69 commented 1 month ago

Make the VPN auto start and auto connect on device boot if that's possible

noobworth commented 3 weeks ago

For some reason it's impossible to enable the "Always-on VPN" option for this app in Android settings. I've been using this feature with OpenVPN to make it auto start. Hopefully it is a fixable problem as it is way more convenient than manually starting the service after every device reboot.

Screenshot_2024-07-14-03-08-41-697_com android settings

Rajdave69 commented 3 weeks ago

Well, looking like it can be enabled by modifying the app's code

https://stackoverflow.com/questions/68213388/always-on-vpn-switch-on-programmatically-android

Does anyone else here know Java? Or else I might try it out this weekend. Is the owner of this repo still active to accept a PR? I hope so