HA app mobile crash help

Hi,
I’ve had a problem with the HA app on one of my phones for a long time.

I installed the new version but also tried the old ones, changed the settings on the phone, allowed the app to access everything but still the same?

The thing is that when I start the app it works but sometimes I just exit it or exit it, lock the phone and 10, 30 minutes pass differently and I get a message that the app has crashed.

I uninstalled webview, installed it, updated it and the same thing.
At various times this app crashes so I have no control over the phone.

I have no idea what it could be. Maybe someone has an idea?

Samsung a52 phone with Android 13.
I don’t have this problem on the s9+ with the older system.

Ha also updated, I tried the older version and the same thing.

settings > companion app > troubleshooting > show and share logs

do you see a Recent Crash tab when this occurs? that may contain the error.

Unfortunately I can’t see it. The application closes itself randomly, and even if a failure occurs, there is nothing else.

I can’t insert this logo into the content, it’s too longUnfortunately I can’t see it. The application closes itself randomly, and even if a failure occurs, there is nothing else.

I can’t insert this log into the content, it’s too long.
Link to file: Unique Download Link | WeTransfer

Can someone advise?
The app broke at the end of last year and since then I don’t know what to do with it, it’s annoying.

UPDATE:
I’ve probably found the cause.

If I disable access to the permission: Nearby devices in permissions, the app works in the background and doesn’t throw an error.

The problem is that I lose the ability to locate the device. Does anyone know what this issue is about?