-
Notifications
You must be signed in to change notification settings - Fork 22
refactor: load sessions with async/await - WPB-17719 #3373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
# Conflicts: # wire-ios-sync-engine/Source/SessionManager/SessionManager.swift # wire-ios-sync-engine/Tests/Source/SessionManager/APIMigrationManagerTests.swift
Test Results 6 files 815 suites 7m 42s ⏱️ Results for commit 9ac6c30. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Issue
In order to support multibackend we need to be able to load user sessions deterministically. One step to help achieve this is to make use of async/await when loading sessions. This PR removes the completion handler approach of loading sessions and replaces them with async/await.
Specifically:
Testing
Use the app as normal, switch accounts, receive push notifications, tap on push notifications to open the app, share messages from the share extension.
Checklist
[WPB-XXX]
.UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: