-
Notifications
You must be signed in to change notification settings - Fork 503
Avoid calling getResultsForConfig twice #126
base: master
Are you sure you want to change the base?
Conversation
getResultsForConfig was being called before and in allAuthorized
Is there a particular case where this is called twice? It doesn't look like it happens always... Also, I just merged this locally with #115 and it won't show the UI using the example app, just returns |
Flow: |
Yeah, that's the problem with the fix: #125 (comment) |
OK, I'll deal with that one first, then I'll come back to figure out what's going on here. |
I don't think that's the same issue as #125 - this was just me using the standard example project, not the special no UI case that we're dealing with there. |
The problem in #125 was that singlePscope.onAuthChange = { (finished, results) in
print("got results \(results)")
print("statusNotifications \(self.singlePscope.statusNotifications())")
} And also, |
getResultsForConfig was being called before and in allAuthorized