push-notifications-swift
push-notifications-swift copied to clipboard
Completion handler never called in `clearAllState(completion:)`
I'm calling clearAllState
upon user logging out, as recommended in the docs. I've noticed that the completion handler is not being called, which at least in my current implementation results in the log-out process hanging, since it never continues past the step where I clear all Pusher state.
Is it expected that the clearAllState
completion handler will sometimes (or every time in my case) not get called?
If so it would be great to call that out in the documentation so that folks don't get tripped up on this in the future like I did.