com.ruuvi.station icon indicating copy to clipboard operation
com.ruuvi.station copied to clipboard

Starting foreground service crash (from crashlytics)

Open andreevdenis opened this issue 1 year ago • 2 comments

Fatal Exception: android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{5bb0c29 u0 com.ruuvi.station/.bluetooth.BluetoothForegroundService}

and many similar crashes in logs.

Probably can be reproduced with Android 13 phone. But I can't do it with my phone for some reason.

andreevdenis avatar Mar 06 '23 20:03 andreevdenis

@markoaamunkajo need your assistance in reproducing it. 🙏🏻

andreevdenis avatar Mar 06 '23 20:03 andreevdenis

@andreevdenis Asked feedback also from Lauri and we concluded that nobody's seen this crash occur. Moving the card to backlog, we will probably bump into it during later testing.

markoaamunkajo avatar Mar 23 '23 02:03 markoaamunkajo

I was able to reproduce this a couple of times recently. I'll try to investigate this issue

andreevdenis avatar May 16 '24 13:05 andreevdenis

Moving this to done and will follow up on Firebase logs. Apparently difficult issue to reproduce (seen only when restarting phone and launching app too fast?)

markoaamunkajo avatar Jul 08 '24 03:07 markoaamunkajo