Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on boot independent from Android features? #1671

Closed
frmariam opened this issue Nov 18, 2023 · 2 comments
Closed

Run on boot independent from Android features? #1671

frmariam opened this issue Nov 18, 2023 · 2 comments

Comments

@frmariam
Copy link

To make issues more manageable, I would appreciate it if you fill out the following details as applicable:

General information

  1. Android 9 (TV ; latest version, July 5, 2020)
  2. Android Vendor
  3. Device MiTV-MSSP3
  4. Version of the app (version number/play store version/self-built) 0.7.50, github release

Description of the issue

My TV Android versions displays no options relating to VPN in Network & Internet settings.
I'd like to connect to my VPN on boot, but the way OpenVPN for Android enables this doesn't work on my device - I can't enable Always-On.
My VPN provider app also doesn't allow this (at least not if connecting via LAN cable).
Can run on boot be implemented from OS limitations.

VPN working properly if manually enabled in OpenVPN for Android

Log (if applicable)

log contents

Configuration file

add the contents of the configuration file if applicable
be careful to not post private keys
@schwabe schwabe closed this as completed Nov 18, 2023
@schwabe
Copy link
Owner

schwabe commented Nov 18, 2023

The current method that I use that is enabled is the best way that I figured would work on Android devices. The OnBootReceiver should work. It works on my test Android devies. I don't really have any wacky Android TV devices that I can test on. The only ones that I have are Shield TV and and a chromecast with GOogle TV and both are running fairly recent Android versions (12 or 13 iirc). It works with those devices. If someone contribute code to make on boot work with other devies via pull request I am happy to include that code but I am not able to work on that myself.

@frmariam
Copy link
Author

Understandable.
Unfortunately My Xiaomi TV is on Android 9 and the settings options are quite lacking...

Thank you for the app!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants