News for hackers. Stuff that matters.
Re:Android vendors, don’t kill my app by gambiting on Monday January 14, 2019 @05:57AM (#18902123)
I mean sure, but at least give me a way to override it. On my OnePlus 5T running Android Pie, the system will keep killing my VPN client when in sleep mode, even though I have selected that I don't want to optimize it under battery usage. With the VPN client restricting all unprotected access, it means that once the phone goes into sleep, I stop getting all notifications for anything because there is no internet connection. It's very frustrating.
Re:Android vendors, don’t kill my app by Abishek_Muthian on Monday January 14, 2019 @07:03AM (#18902401)
Try selecting 'Lock' for the VPN App from the recent apps section (top right)[1]

[1]:https://imgur.com/Bk8jXbJ

Re:Android vendors, don’t kill my app by gambiting on Monday January 14, 2019 @07:39AM (#18902527)
Hmmm, I had no idea this was a thing. Will give it a try!
Re:Android vendors, don’t kill my app by UnFleshedOne on Monday January 14, 2019 @03:26PM (#18906148)
I use NetGuard on 5T, which is using VPN API, and that seems to stay alive. That with battery optimization off for it and with its own watchdog option enabled. I think I had it dying without watchdog though.
Re:Android vendors, don’t kill my app by kda26 on Monday January 14, 2019 @06:24AM (#18902227)
On my phone, if I go to the apps list>tap app I want to run in the background (VPN app for example)>battery>allow background usage.

I have a galaxy S9 but there should be the same or similar setting on yours.

Re:Android vendors, don’t kill my app by pedrocx486 on Monday January 14, 2019 @06:32AM (#18902258)
It's exactly the same thing he's talking about. The issue here (I also own a OnePlus 5T) is that OnePlus' implementation of memory saving is too agressive and often ignores user configs.