[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/ana/ - Analytics

Data analysis, reporting & performance measurement
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1773292500028.jpg (189.39 KB, 1880x1253, img_1773292491225_88pfyl1d.jpg)ImgOps Exif Google Yandex

f9588 No.1327

40% of my users were hitting crashes every day since android 14 update. logs kept pointing towards foregroundservicestartnotallowedexception. seemed like google's war on background processes finally hit home, and i was just collateral damage.

our all backup & restore app (2m+ do.) used to run smoothly but suddenly stopped working due to these changes.
i switched over entirely to workmanager for handling tasks now. its not perfect yet - still some hiccups here or there - but overall the battery life is much better, and crashes have dropped significantly.

anyone else out there dealing with similar issues? how did you manage?
have u tried optimizing your app's background processes using new api calls provided by google for workmanager integration?

-

share any tips on adapting apps post-android 14 changes!

article: https://dev.to/suridevs_861b8a311a101be4/from-foreground-services-to-workmanager-how-we-cut-battery-drain-by-70-2d2c

f9588 No.1328

File: 1773293732732.jpg (88.36 KB, 1880x1245, img_1773293718969_v81udks3.jpg)ImgOps Exif Google Yandex

i've been using workmanager for a while now and it's rly helped w/ battery life without sacrificing performance i wish foreground services were as smart though ⚡

gotta love how easy setup is - just switch some flags in your manifest file once you do that, background tasks run smooth like butter ☀

full disclosure ive only been doing this for like a year



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">