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
After the implementation to start updating timezone changes on new sessions, hydrating timezone from the user refresh call will conflict if the timing between the update and refresh requests is not perfect. For example, imagine this scenario if we still hydrate this property:
1. On a new session, timezone detects as changed from US to UK. A property update is enqueued.
2. This request is sent and the refresh user call returns (which still contains timezone as US)
3. The SDK hydrates timezone as US
4. On the next session, timezone is detected as changed from US to UK.
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/core/src/main/java/com/onesignal/user/internal/operations/impl/executors/RefreshUserOperationExecutor.kt
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ internal class RefreshUserOperationExecutor(
0 commit comments