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:
@@ -976,6 +976,18 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
return 'Не удалось настроить push: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get pushHintOff =>
|
||||
'Сообщения придут, только когда откроешь Šepot — сигналы не настроены.';
|
||||
|
||||
@override
|
||||
String get pushHintFailed =>
|
||||
'Сигналы не работают: сообщения увидишь только после открытия Šepot.';
|
||||
|
||||
@override
|
||||
String get pushRegistrationFailed =>
|
||||
'Сигналы не приходят — дистрибьютор отклонил регистрацию. Попробуй выключить и снова включить push.';
|
||||
|
||||
@override
|
||||
String get pushNoDistributorTitle => 'Нет дистрибьютора';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user