feat: Add FCM token display and copy functionality in ChatsListScreen

This commit is contained in:
2026-02-25 21:16:14 +05:00
parent dd5bee5e42
commit dd473db8ff
3 changed files with 71 additions and 0 deletions

View File

@@ -420,6 +420,8 @@ class MainActivity : FragmentActivity() {
com.rosetta.messenger.push.RosettaFirebaseMessagingService.isAppInForeground = true
// ⚡ На возврате в приложение пробуем мгновенный reconnect без ожидания backoff.
ProtocolManager.reconnectNowIfNeeded("activity_onResume")
// 🔄 Desktop parity: синхронизация при каждом заходе в приложение
ProtocolManager.syncOnForeground()
}
override fun onPause() {