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
Describe the bug AWSPinpointAnalyticsClient:submitEvents does a dispatch_sync(dispatch_get_main_queue(), to get [UIApplication sharedApplication] isRegisteredForRemoteNotifications] result. A dispatch_sync on main queue can lead to a deadlock when events are sent from queues besides the main queue.
To Reproduce
Send an event from a queue other than main queue and block main queue would be the easiest:
Describe the bug
AWSPinpointAnalyticsClient:submitEvents
does adispatch_sync(dispatch_get_main_queue(),
to get[UIApplication sharedApplication] isRegisteredForRemoteNotifications]
result. Adispatch_sync
on main queue can lead to a deadlock when events are sent from queues besides the main queue.To Reproduce
Send an event from a queue other than main queue and block main queue would be the easiest:
Which AWS service(s) are affected?
AWSPinpoint on iOS SDK
Expected behavior
Send events on a queue other than main queue without blocking.
Environment(please complete the following information):
Device Information (please complete the following information):
Additional context
call stack:
The text was updated successfully, but these errors were encountered: