NSURLNetworkServiceTypeVoIP setting is not respected on iOS 10
| Originator: | larry.brunet | ||
| Number: | rdar://28734094 | Date Originated: | 12-Oct-2016 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 10.0.1 |
| Classification: | Reproducible: |
Summary: Our VoIP application built on iOS 9 SDK uses the NSURLNetworkServiceTypeVoIP network service type to trigger waking up our app when a new call or message arrives. This has stopped working on devices running iOS 10. Steps to Reproduce: Create a NSMutableURLRequest instance. Set the networkServiceType to NSURLNetworkServiceTypeVoIP. Send the request to the server using an NSURLSessionDataTask. Server delays responding until a call or message arrives (long poll). App is moved to the background (and suspends). Expected Results: When the server responds, the app wakes and receives the response. Actual Results: When the server responds, the app does not wake and the response times out. Notes: - We expect this behaviour if we re-built our app on he iOS 10 SDK. - We do not expect our deployed (iOS 9 SDK) versions of the app to stop working on iOS 10. - the CFStream level version of this flag (kCFStreamNetworkServiceTypeVoIP) continues to work as expected.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!