BimmerGestalt / AAIdrive

Implementations of some Android Auto features as unofficial IDrive apps
MIT License
540 stars 90 forks source link

aaidrive crashes since last update after a while #799

Open nextsux opened 1 month ago

nextsux commented 1 month ago

Hello,

I've been using aaidrive happily for a long time without any issues. Since last week it disconnects from car in few minutes. Just restarting app works. After few tries I get notification that app stops working frequently.

I have app installed from gplay now, part of beta. I think start of problems can be connected to update in last week / few weeks. I'm currently on 1.4.2-57 from 1.7.2024.

Android 14, nothing phone 2

Is there a way I can provide more additional info?

hufman commented 1 month ago

Thank you for being a beta tester! Indeed, I did just push a new version to test out the Android 14 upgrade that is due in September. Unfortunately, it is working well for me so I need your help in getting logs to figure out what happened.

Can you send me (privately via email) your adb logcat -d > logcat.txt log, as soon as possible after a crash? Because of the notification, the crash may be saved in the crash log, but otherwise the regular log has a short buffer that won't retain it long.

The part where it crashes after a few minutes sounds like a background execution restriction, does it keep working if you keep the screen on with AAIdrive in the foreground?

hufman commented 1 month ago

Alternatively, you could uninstall the Play Store version and install the Sentry build from Github, which is the same version but with crash reporting built in. After enabling crash reporting under Settings, use the app as normal and I should get an email if any crashes happen.

nextsux commented 1 month ago

Sorry for the delay, I was on a vaccation. Sending you log via an email.

hufman commented 4 weeks ago

I tried adding some error handling, hopefully that helps!