tmail-flutter
tmail-flutter copied to clipboard
Real time updates for web are broken
Description
Manual refresh needed for web.
Expected result
I expect FCM to be able to refresh also web without manual refresh
Current behavior
https://github.com/linagora/tmail-flutter/assets/6928740/23f300fb-aa91-41b0-ab5a-3fc2e24e6e95
It was fixed with the release v0.11.3. I though you not get full update of the main.dart.js, please use ctrl+F5 to test it again
It was fixed with the release v0.11.3. I though you not get full update of the main.dart.js, please use ctrl+F5 to test it again
Nope.
I tried 2 different browser, even in incognito mode.
No luck!
Please NEEDED for a customer
- [x] some commits on back-end side to handle expired token should be backport
- [ ] cherry pick this in #2483 also to
v0.11.3-patchx
cherry pick this in https://github.com/linagora/tmail-flutter/pull/2483 also to v0.11.3-patchx
Done in v0.11.3-patch5
some commits on back-end side to handle expired token should be backport
Already part of the release
311057fb [FCM] Set alert for the APN message
b224a401 fixup! ISSUE-870 Enable mutable-content for APNS notification
a4608b7e ISSUE-870 Enable mutable-content for APNS notification
40f7de5c ISSUE-870 FirebaseSubscription/get should return expired subscriptions (#872)
I deployed v0.11.3-patch5 on prod.
Still not working
ok, let us test, firebase token not easy to regenerate.
Not yet passed on tmail.linagora.com & canary-tmail.linagora.com 0.11.3
https://github.com/linagora/tmail-flutter/assets/124866146/db09eec1-c9cd-461d-ade5-179ff83b8bf3
Desc:
- customer app work well in the case web app in foreground (active tab)
- customer app not have realtime update in the case web app in background (still open tmail tab, but focus on other tab)