-
Notifications
You must be signed in to change notification settings - Fork 5
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
Create PendingInteraction model after configuration #1148
Create PendingInteraction model after configuration #1148
Conversation
@@ -29,6 +30,14 @@ extension SecureConversations { | |||
hasPending || unreadCount > 0 | |||
} | |||
.assign(to: &$hasPendingInteraction) | |||
|
|||
if self.pendingStatusCancellationToken == nil { | |||
print("Unable to subscribe to pending status updates") |
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.
should we use log
instead of print
?
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.
It seems to me that this has to be a part of SDK configuration and affect SDK configuration completion result. So instead of adding logs I added error handling 047da93.
GliaWidgets/SecureConversations/SecureConversations.PendingInteraction.swift
Show resolved
Hide resolved
!squash |
Make sure PendingInteraction model is created after configuration to prevent subscription for unread message count and pending SC status from failure, because 'pubsub' is created only when Core SDK is configured. MOB-3871
047da93
to
dbf8da4
Compare
76c87b1
into
feature/entry-widget-and-secure-conversations-v2
Make sure PendingInteraction model is created after configuration to prevent subscription for unread message count and pending SC status from failure, because 'pubsub' is created only when Core SDK is configured.
MOB-3871
What was solved?
Release notes:
Additional info:
Screenshots: