element-x-ada/libraries/push
Jorge Martin Espinosa ad56b01e4a
Try handling ForegroundServiceStartNotAllowedException better (#6483)
* Try handling `ForegroundServiceStartNotAllowedException` better

The docs mention starting a foreground service when the app is on background is allowed when FCM receives a high priority notification, so we don't do it if the priority is not high.

Also, we handle the case where starting the foreground service fails so it doesn't crash the app.
2026-03-30 18:44:08 +02:00
..
api Fix ForegroundServiceDidNotStartInTimeException (#6470) 2026-03-27 06:54:27 +00:00
impl Try handling ForegroundServiceStartNotAllowedException better (#6483) 2026-03-30 18:44:08 +02:00
test Fix ForegroundServiceDidNotStartInTimeException (#6470) 2026-03-27 06:54:27 +00:00