Live data from Hacker News

Android vendors, don’t kill my app

dontkillmyapp.com

301–310 of 414 posts

Re: Android vendors, don’t kill my app

#302
post #261

Earlier quoted context omitted.

Apparently the app that kills other apps comes installed on Nokias with Android One as well. https://www.reddit.com/r/Nokia/comments/actk7z/android_one_p...

It’s there on my Nokia 7+ running Android 9.

Have you had any problems because of it?

Re: Android vendors, don’t kill my app

#303

Earlier quoted context omitted.

> Some calls to that API on some OEMs device round alarms to the nearest minute, some to the nearest ten minutes. WHY? What benefit does that serve?

>WHY? Because China. Having lived in China for a few months with an Android phone I can with absolute certainty tell you that this is needed over there. The amount of garbage apps, even from big companies like baidu is enourmous! And without a Google playstore, or play services, or play safety thing it is an absolute wild-west of background alarms, API calls, battery draining and whatnot.

Sorry, how does rounding to the nearest minute or nearest TEN minutes solve any problems?

Like are apps setting alarms for every 3 seconds or something for no reason??

Re: Android vendors, don’t kill my app

#304

Earlier quoted context omitted.

Background App Refresh has been a thing for ages - It took them a while, but Apple solved this problem in a super user-friendly manner.

No, they haven't solved it.

I’m curious: why doesn’t background refresh solve the problem?

Re: Android vendors, don’t kill my app

#305
post #186
post #83

Earlier quoted context omitted.

> Why do I still have to grant an application all the permissions it requests when I install it instead of being able to turn them on or off individually? I don't think this is true in the later releases is it? I get a lot more ad-hoc permission requests these days, and there's much more control in the application settings (the android app settings, not the settings the app presents).

It is true to some extent since Marshmellow. But apps can tell when their permissions are denied, so some of them straight out refuse to start unless you give it all the permissions it wants. This is especially problematic when a new version of an app holds your data hostage and refuses to start unless you give it a ridiculous new permission. The Play Store has no requirement that apps degrade gracefully when permiss…

I really wish I could whitelist which contacts each app could see, so WhatsApp only sees the ones I want on that app.

Re: Android vendors, don’t kill my app

#306
post #48

Earlier quoted context omitted.

If this were the solution, I'd have to have a notification that I can't swipe away for email, Telegram, Wire, navigation while navigating, music player while playing, alarm clock when an alarm is set... So say I'm driving with music, that's five useless notifications. The app can ask me on first launch if I want it to do this or not, rather than being permanently in my face about it. The notification area is becoming…

You can set the notification to "Hide" in the App properties screen. You don't have to swipe it away/close it.

But then it hides all notifications. I still want to know when I received a new email or message.

Again, Cyanogenmod based on Android 4.4 was better here: I could selectively hide notifications with certain contents. In Android 7, I can only choose not to display notifications from a certain app. I still have to write something that reads notifications and kill them selectively, but then I guess such a service would get killed as well without its own annoying notification... (The "you must update google play services to use this app" notification (which is a falsehood) is also annoying the crap out of me, another issue I didn't have on 4.4.)

I didn't actually know the wake lock would still work if you hide an app's notifications, I thought the notification was the prerequisite for not getting killed.

Re: Android vendors, don’t kill my app

#307
post #262
post #253

Earlier quoted context omitted.

Those apps are explicitly whitelisted by OnePlus. There's nothing to "fix" they're by the app developer, because the killing algorithm chooses based on app name, not app battery consumption. Facebook can kill your whole battery and you'll never get a warning.

So you are saying that behind visible list of apps that are either "optimized" or excluded there is another hidden list where app that is "optimized" could be actually excluded? Ok, that can be a working hypothesis. Why is Skype not excluded the same way then? Or Slack? Millions use them and MS surely has money to promote their app this way. Why Whatsapp is not excluded? It's owned by FB.

I don't know why it's not there, I'm not an exec in those companies. I know for sure that OnePlus, Huawei and Xiaomi have such whitelists. Other OEMs might have them as well.

This isn't climate change debate, it's easy to check.

Re: Android vendors, don’t kill my app

#308
post #58

This is the Android multitasking lead finally coming fully circle. Android had multi tasking much earlier and in a more powerful way by allowing apps to start their own serivices and do pretty much whatever they wanted, but this is the unfortunate logical result - apps that agressively kill other apps, installed by the handset manufacturers, to protect users from badly written apps that drain the battery in the servi…

That's right.

Re: Android vendors, don’t kill my app

#309

Earlier quoted context omitted.

My XMPP client works perfectly on my Android phone. Prompt and reliable notifications of new messages. Better than most "Push Message" based clients I've used for other chat services. It's consistently the last in battery usage as well. Honestly I don't need the OS to protect me from poorly engineered apps, I just need it to correctly blame the apps so I know which ones to stop using.

>Honestly I don't need the OS to protect me from poorly engineered apps, I just need it to correctly blame the apps so I know which ones to stop using. No, but the other 6 billion people on the planet do.

Which is why Apple is so big. Also Walmart. Also Top40.

Re: Android vendors, don’t kill my app

#310
post #303

Earlier quoted context omitted.

>WHY? Because China. Having lived in China for a few months with an Android phone I can with absolute certainty tell you that this is needed over there. The amount of garbage apps, even from big companies like baidu is enourmous! And without a Google playstore, or play services, or play safety thing it is an absolute wild-west of background alarms, API calls, battery draining and whatnot.

Sorry, how does rounding to the nearest minute or nearest TEN minutes solve any problems? Like are apps setting alarms for every 3 seconds or something for no reason??

Yes. Rounding to 10 min means you fire up the cpu and do all apps at once then go idle.
Post reply on HN