Skip to content

Commit 397d20e

Browse files
committed
move auth completion call to main queue
1 parent f28ab3e commit 397d20e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ios/RNIterableAPI/ReactIterableAPI.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,10 @@ extension ReactIterableAPI: IterableAuthDelegate {
573573
}
574574
} else {
575575
ITBInfo("authTokenRetrieval timed out")
576-
completion(nil)
576+
577+
DispatchQueue.main.async {
578+
completion(nil)
579+
}
577580
}
578581
}
579582
}

0 commit comments

Comments
 (0)