mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(mobile): iOS background sync notifications (#1811)
* adds notification handling logic * notification on background updates for iOS * fixed regression where i accidentally removed load translations from the background sync * fixed ios translations --------- Co-authored-by: Marty Fuhry <marty@fuhry.farm> Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -314,10 +314,9 @@ class BackgroundService {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Notifications aren't enabled in iOS yet, and this line
|
||||
// below crashes the iOS background service
|
||||
if (Platform.isAndroid) {
|
||||
await loadTranslations();
|
||||
final translationsOk = await loadTranslations();
|
||||
if (!translationsOk) {
|
||||
debugPrint("[_callHandler] could not load translations");
|
||||
}
|
||||
|
||||
final bool ok = await _onAssetsChanged();
|
||||
|
||||
Reference in New Issue
Block a user