You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @akshetpandey, this sounds like something that could indeed be helpful. We currently don't directly tie in with any lifecycle events, so this would likely need to be exposed through FirebaseApp.
I'm going to add the "Help Wanted" tag to this, as our team likely does not have cycles to address this issue. We would be more than happy to accept a contribution for iOS (and can port it to Android as needed). As for the correct path forward, we would suggest that when a significant time change happens, we simply resync our time with the server (by closing and re-opening the backend stream).
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
.info/serverOffsetTimestamp doesn't update when device time changes.
Steps to reproduce:
Notice that the offset hasn't changed
Proposed implementation
On iOS this can be implemented by using applicationSignificantTimeChange callback or using UIApplicationSignificantTimeChangeNotification notification
On Android this can be implemented by using ACTION_TIME_CHANGED intent
The text was updated successfully, but these errors were encountered: