Post not yet marked as solved
Post marked as unsolved with 4 replies, 642 views
I'm using SCNetworkReachabilitySetCallback to detect network reachability changes. Also I'm using push notifications in my app. I'm stacked with this scenario:turn off network and go to backgroundpush notification subscription is aborted with 1009 error code (no internet)wait for a minuteturn on networkThe problem is that app goes to background and reachability callbacks are not coming to my iPhone anymore. So I can't subscribe to push notifications until I will not go to foreground in my app.I checked with Telegram - push notifications are coming to their app with this scenario. Does anyone know how to solve this problem?Thanks a lot for your answers.