Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data bindings seems freezing the details/gauges view after working normally a few minutes #25

Open
henritik opened this issue May 19, 2024 · 1 comment

Comments

@henritik
Copy link

henritik commented May 19, 2024

Hi Hufman!

I have developed your CDS gauges addon a bit further (just for my own fun for now), but noticed a strange issue that causing the app to crash after some 3-4 minutes after started to receive the car data, an every single time. At first I assumed that my own modifications are causing this. However, I then tried your original CDS details package as well and found an exactly the same behavior. For me it seems, that the issue may be somehow related to data bindings in the app. In the car's OS, this is not happening and all the available CDS data is always visible when the app is connected.

I have also tried to get the issue in the logs, but so far I have not been able to find any clear pattern, that may causing it. I have also turned real-time crash reports enabled on my device but there's nothing telling that the app is actually crashed, the screen just freezes and after restarting the addon (not the main app) it will work again for a while.

However, I'm just a web developer and not experienced at all in Android debugging, so there might be something essential that I have missed. All the tests in Android Studio are also passed. The Android version in my test device is 12 and I'm using the latest build 1.4.2-39-4b386f3 of AAIdrive app.

I was not able to find any discussions so far about the similar behavior, but maybe you have seen it before?

Many thanks in the advance for any help and thank you so much for created this great project! <3

@hufman
Copy link
Collaborator

hufman commented May 23, 2024

That's delightful to hear, thanks for your excitement!
I'm not sure why it would be freezing. The car continues sending data updates to AAIdrive, even after your addon shuts off, and your addon (deep inside IDriveConnectKitAndroid library) receives a notification of new data and fetches it from AAIdrive.
I'll see if I can reproduce it when I get back from my trip in a few weeks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants