BimmerGestalt / AAIdrive

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

Crashing and buggy with Samsung s23 Ultra #679

Closed NickB1772 closed 5 months ago

NickB1772 commented 1 year ago

Love this app, it's a brilliant work around for those using Android, and it worked brilliantly with my S22. However, since upgrading to the s23 ultra it's very hit and miss. The connection drops out regularly, I can't access Spotify even when it's showing on my dash (buttons won't work), and often Spotify content shows as 'empty'. It also freezes. I've reinstalled the app, and reconnected my phone to the car but it's still not behaving

Bushido1992 commented 1 year ago

Sounds like bmw / spotify app is close in background. Check your app settings.

Set MY BMW/aaidrive/Spotify to "unrestricted"( hold app icon, tap info button, choose Battery, then choose "Unrestricted" to the 3 Apps and test again.

hufman commented 1 year ago

Someone with a S22 encountered a similar problem after upgrading to UI5.1, please try their tips to set the MyBMW and AAIdrive battery usage to Unrestricted. Please also check that the car continues showing the Apps checkbox as checked (meaning MyBMW is still connected to the car) and that both MyBMW and AAIdrive's notifications are showing.

NickB1772 commented 1 year ago

Hi, thanks for this. All three are on unrestricted battery, so not sure why I'm getting the problem

NickB1772 commented 1 year ago

Hi, yes all on unrestricted and all notifications are showing. The car is still showing apps checked

dimakaob commented 1 year ago

Hello there! Galaxy S23 Plus. Same problems. All the battery settings set to never kill, unrestricted etc. One UI 5.1 is not the reason, because my previos S21 Ultra with One UI 5.1 worked fine.

P.S. Is it possible, that the reason is the new Bluetooth version 5.3?

hufman commented 1 year ago

I'm sorry to hear that! There aren't any ways that AAIdrive and MyBMW can stay in memory beyond running a Foreground Service notification (and even asking the user to exempt battery optimizations is somewhat against the Play Store rules), so hopefully other Samsung users can come up with a workaround!

dimakaob commented 1 year ago

Well, today for about 2 hours everything was fine. I set to "unrestricted" both apps. Not just aaidrive. Keep watching =)

пт, 10 мар. 2023 г., 20:17 Walter Huf @.***>:

I'm sorry to hear that! There aren't any ways that AAIdrive and MyBMW can stay in memory beyond running a Foreground Service notification (and even asking the user to exempt battery optimizations is somewhat against the Play Store rules), so hopefully other Samsung users can come up with a workaround!

— Reply to this email directly, view it on GitHub https://github.com/BimmerGestalt/AAIdrive/issues/679#issuecomment-1464120816, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARL5L5RY4XJVRWWZIXCZUS3W3NO3XANCNFSM6AAAAAAVL3MSTY . You are receiving this because you commented.Message ID: @.***>

Bushido1992 commented 1 year ago

if set Apps to unrestricted / never sleeping not work, then another app (not Samsung) must kill them to run in background.

The last Thing you can do is check if aaidrive/my bmw is already excluded on memory settings; Settings>Battery and device care > Memory > excluded Apps

More you cannot Set. If the app then dont work it's not Phone / Samsung related

simPod commented 1 year ago

I had the same issue with S23 (the little one).

Today I had no more issues (spotify stopped playing once so maybe I'll have to exclude that too, but connection was stable overall).

Kelvfimer commented 1 year ago

Hello

I followed the steps provided here (battery unrestricted, allow notifications and memory care) and I'm still unable to make spotify app work. I have these screen and i can't change song, view the title etc it is like everything disable

The funny thing is if I go to notifications section i can see the song, the álbum cover and change song.

Pls somebody can help me to set up spotify app? Thx 20230408_191625 20230408_191652

hufman commented 1 year ago

Do other aspects of AAIdrive function properly? If Samsung is pausing the app in the background, the menu handler to open the app from the car's main menu wouldn't function, and the Notifications and Calendar apps wouldn't update either. Do other music apps work?

Kelvfimer commented 1 year ago

Whatsapp Notifications works and if I go to the book icon (that contains all notifications) and open the spotify notification the cover of the album and the name of the song is there, besides I can change the song from there. However using the spotify app doesn't work. Other functionality such as detailed vehicle info works too.

hufman commented 1 year ago

Does the app connection to Spotify work? Try tapping Spotify from the Music tab of the phone interface to test it.

Kelvfimer commented 1 year ago

Yes the connection does work. The music sounds with spotify app or bluetooth. But when getting the spotify app I get the images shown. The funny thing is the app from notifications works.

So if I go to notifications, click on the book and click on the spotify notification it works

20230414_180230 20230414_180241 20230414_180247