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