Posts

Post not yet marked as solved
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.
Posted
by svalma.
Last updated
.
Post not yet marked as solved
2 Replies
600 Views
Hello!I have searched through internet, but there are no discussions about exactly this problem.Customers of application which I support complain about problem: when I take incoming call, there is no sound for about 1 - 1.5 sec in iPhone 5s (new iPhones take less time) and Loudspeaker button is active during this time.I checked with WhatsApp - they have this problem too. It looks like some iOS bug / specific behavior.Did anyone find a workaround to fix it? Or information from Apple that it is specific behavior?I've tried to configure [AVAudioSession sharedInstance] in 'provider:performAnswerCallAction:' method, in 'provider:didActivateAudioSession:'method, in completion block of 'reportNewIncomingCallWithUUID:update:completion:' or before it. No success.
Posted
by svalma.
Last updated
.