bmx666 / android-appcachecleaner

Android Cache Cleaner
GNU Affero General Public License v3.0
437 stars 32 forks source link

App not working as expected since the latest update #238

Closed nvllz closed 1 month ago

nvllz commented 3 months ago

Hi, the latest update (1.11.3) made the app unusable for me. It caused the application to randomly stop, hang and crash while still displaying the icon. Unfortunately, I had to downgrade Cache Cleaner to 1.11.2, which works fine.

Release notes for 1.11.3:

Device specs: Galaxy S20+ Android 13, OneUI 5.1

App settings (same for both versions): Timeout between apps - 1s Max timeout per app - 4s Max timeout to wait for the Clear Cache button - 0s

Increasing the timeout values didn't solve the problem.

bmx666 commented 3 months ago

Hi @nvllz Even after reboot your phone with v1.11.3 the same issue?

It caused the application to randomly stop

It's bug in Android and Google doesn't reply anything about it yet - #190

nvllz commented 3 months ago

Yes, it was possible to somehow clean the cache of my app list in 1.11.3, but it always took multiple clean runs and I had to force stop the app to get rid of the icon overlay. The 1.11.2 version works fine, so there's some hint it's about the most recent changes.

bmx666 commented 3 months ago

I'm not sure why it appears on your side, because there is only one commit - https://github.com/bmx666/android-appcachecleaner/commit/6a4d02e5e04defefbbe96fa16f861bcc13721eef It creates connection between Activity and Service only when App establish connection with Accessibility service and destroy connection when App was closed. In previous it creates connection with service on first run, but service could lost connection with App in some cases like crashes and Accessibility service stay in background for some smartphones.

Please disable all battery optimization on your phone, reboot and verify again. Just to check if there is some changes.

bmx666 commented 2 months ago

Hi @nvllz

Could you please check if this issue is reproducible on v.1.12.0 ?

nvllz commented 2 months ago

I'm gonna test it for longer, but the first run worked fine.

bmx666 commented 1 month ago

Hi @nvllz

Any updates? If everything fine, please close this issue.

nvllz commented 1 month ago

Yeah, seems like it's fixed now. Thanks! :D