element-x-ada/libraries/ui-strings/src/main/res
Jorge Martin Espinosa 108498777b Improve FetchPushForegroundService's reliability (#6757)
* Improve `FetchPushForegroundService`'s reliability

- Don't use DI, we can just create the notification channel. This should speed up the creation of the service and reduce the number of `ForegroundServiceDidNotStartInTimeException` received. Also use `MainScope` instead of the app's coroutine scope.
- Move the wakelock releasing mechanism to `onDestroy` so it's always used. Previously, this would only happen when `stopService` was called, which would only happen when `stopSelf()` is called, but not when the OS or the service manager stops the service.

* Add fallback value for the notification channel title

* Replace the wrong string for the notification/channel title

---------

Co-authored-by: Benoit Marty <benoitm@element.io>
2026-05-12 11:40:46 +02:00
..
values Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-be Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-bg Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-cs Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-cy Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-da Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-de Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-el Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-en-rUS Sync Strings from Localazy (#5904) 2025-12-15 23:51:19 +01:00
values-es Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-et Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-eu Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-fa Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-fi Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-fr Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-hr Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-hu Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-in Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-it Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-ja Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-ka Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-ko Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-lt Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-nb Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-nl Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-pl Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-pt Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-pt-rBR Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-ro Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-ru Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-sk Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-sv Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-tr Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-uk Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-ur Sync Strings from Localazy (#6761) 2026-05-11 09:37:59 +02:00
values-uz Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-vi Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-zh Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00
values-zh-rTW Improve FetchPushForegroundService's reliability (#6757) 2026-05-12 11:40:46 +02:00