fix(app): say it out loud when wake-ups do not work
Registration failures from the distributor were swallowed, so push looked enabled while nothing arrived. Without wake-ups Android suspends the app and messages only show up once the user opens it — which looks like broken delivery even though the relay has them queued. The failure is now remembered and surfaced in Settings, and the chat list carries a dismissible line explaining the state.
This commit is contained in:
@@ -980,6 +980,18 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
return 'Einrichtung der Push-Benachrichtigungen fehlgeschlagen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get pushHintOff =>
|
||||
'Nachrichten kommen erst an, wenn du Šepot öffnest — keine Weckrufe eingerichtet.';
|
||||
|
||||
@override
|
||||
String get pushHintFailed =>
|
||||
'Weckrufe funktionieren nicht; Nachrichten siehst du erst beim Öffnen von Šepot.';
|
||||
|
||||
@override
|
||||
String get pushRegistrationFailed =>
|
||||
'Es kommen keine Weckrufe an — der Distributor hat die Registrierung abgelehnt. Schalte Push aus und wieder ein.';
|
||||
|
||||
@override
|
||||
String get pushNoDistributorTitle => 'Kein Distributor';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user