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:
@@ -1730,6 +1730,24 @@ abstract class AppLocalizations {
|
||||
/// **'Nastavení pushů selhalo: {error}'**
|
||||
String pushSetupFailed(String error);
|
||||
|
||||
/// Proužek nad seznamem chatů, když push není vůbec zapnutý.
|
||||
///
|
||||
/// In cs, this message translates to:
|
||||
/// **'Zprávy ti přijdou, až Šepot otevřeš — budíčky nejsou nastavené.'**
|
||||
String get pushHintOff;
|
||||
|
||||
/// Proužek nad seznamem chatů, když distributor registraci odmítl.
|
||||
///
|
||||
/// In cs, this message translates to:
|
||||
/// **'Budíčky nefungují, zprávy uvidíš až po otevření Šepotu.'**
|
||||
String get pushHintFailed;
|
||||
|
||||
/// Podtitulek dlaždice Push v Nastavení, když distributor odmítl registraci. Bez téhle hlášky uživatel vidí push jako zapnutý, ale zprávy mu chodí až po otevření appky.
|
||||
///
|
||||
/// In cs, this message translates to:
|
||||
/// **'Budíčky nechodí — distributor registraci odmítl. Zkus push vypnout a znovu zapnout.'**
|
||||
String get pushRegistrationFailed;
|
||||
|
||||
/// Titulek AlertDialog, když v systému není nainstalovaný žádný UnifiedPush distributor
|
||||
///
|
||||
/// In cs, this message translates to:
|
||||
|
||||
Reference in New Issue
Block a user