diff options
Diffstat (limited to 'Firestore')
-rw-r--r-- | Firestore/Example/Podfile | 2 | ||||
-rw-r--r-- | Firestore/Source/Util/FSTDispatchQueue.mm | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Firestore/Example/Podfile b/Firestore/Example/Podfile index 71afc2b..f7527d2 100644 --- a/Firestore/Example/Podfile +++ b/Firestore/Example/Podfile @@ -1,7 +1,7 @@ # The next line is the forcing function for the Firebase pod. The Firebase # version's subspecs should depend on the component versions in their # corresponding podspec's. -pod 'Firebase/Core', '4.10.1' +pod 'Firebase/Core', '4.11.0' use_frameworks! platform :ios, '8.0' diff --git a/Firestore/Source/Util/FSTDispatchQueue.mm b/Firestore/Source/Util/FSTDispatchQueue.mm index 15d6e7b..52482df 100644 --- a/Firestore/Source/Util/FSTDispatchQueue.mm +++ b/Firestore/Source/Util/FSTDispatchQueue.mm @@ -230,8 +230,11 @@ NS_ASSUME_NONNULL_BEGIN block:(void (^)(void))block { // While not necessarily harmful, we currently don't expect to have multiple callbacks with the // same timerID in the queue, so defensively reject them. - FSTAssert(![self containsDelayedCallbackWithTimerID:timerID], - @"Attempted to schedule multiple callbacks with id %ld", (unsigned long)timerID); + // TODO(b/74749605): If a user change happens while offline we can end up with multiple backoff + // callbacks in the dispatch queue. This is non-harmful so I'm just disabling the assert until we + // get that cleaned up. + // FSTAssert(![self containsDelayedCallbackWithTimerID:timerID], + // @"Attempted to schedule multiple callbacks with id %ld", (unsigned long)timerID); FSTDelayedCallback *delayedCallback = [FSTDelayedCallback createAndScheduleWithQueue:self timerID:timerID delay:delay |