GithubHelp home page GithubHelp logo

Comments (5)

julian-klode avatar julian-klode commented on May 14, 2024

The problem is that without the notification, Android might just kill the service under memory pressure:

https://developer.android.com/reference/android/app/Service.html#startForeground(int, android.app.Notification)

It's questionable if we want to take that risk.

from dns66.

markhaehnel avatar markhaehnel commented on May 14, 2024

Ah, didn't know. This is a good reason not to change anything.

from dns66.

julian-klode avatar julian-klode commented on May 14, 2024

Let's still keep this open. I have not seen Android kicking out Opera VPN yet, and that has no notification, so perhaps it's acceptable enough on modern devices (then again, my phone has 6 GB ram...).

from dns66.

niclasdh avatar niclasdh commented on May 14, 2024

It would make sense for Android to keep Apps active which extends VpnService (https://developer.android.com/reference/android/net/VpnService.html). But there is no documentation how this influence Lifecycle. So we could double check that.

from dns66.

julian-klode avatar julian-klode commented on May 14, 2024

@niclasdh That would be nice. As I said, it tends to work fine for me with Opera, so it's probably half-way sane to provide such an option in any case.

from dns66.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.