I have a question about `set` method in Firebase ios SDK. To write something in our datastore, we use:
open func setValue(_ value: Any?, andPriority priority: Any?, withCompletionBlock block: @escaping (Error?, DatabaseReference) -> Swift.Void)
When the app is offline, we saw that the completion block is not called and only when we go back online it's okay.
Our app implementations wait for this callback to continue the flow, but we are blocked if the app turns offline. (We wait this callback to be notified of any kind of error)
Do we need to ignore this callback and we won't have any error (because we are offline) ?
because if we don't ignore it, that means we silent a possible error emitted by the sdk.
What's is the best practice ?