Slashdot Mirror


iOS 10 Quietly Deprecated A Crucial API For VoIP and Communication Apps (apple.com)

neutrino38 warns that iOS 10 includes a significant change "overlooked by the general public": It deprecates an API that is crucial for VoIP and other instant messaging applications that enable keeping one socket active despite the fact that the application would run in the background. As a replacement, developers need to use PushKit: when an incoming call is to be forwarded to an iOS VoIP client, the VoIP infrastructure needs to:

- withold the call
- contact Apple push infrastructure using a proprietary protocol to wake up the client app remotely
- wait for the application to reconnect to the infrastructure and release the call when it is ready

This "I know better than you" approach is meant to further optimize battery life on iOS devices by avoiding the use of resources by apps running in background. It has also the positive effect of forcing developers to switch to a push model and remove all periodic pollings that ultimately use mobile data and clog the Internet. However, the decision to use an Apple infrastructure has many consequences for VoIP providers:

- the reliability of serving incoming calls is directly bound to Apple service
- Apple may revoke the PushKit certificate. It thus has life and death decision power over third-party communication infrastructures
- organizations wanting to setup IPBX and use iOS client have no option but to open access for the push services of Apple in their firewall
- It is not possible to have iOS VoIP or communication clients in network disconnected from the Internet - Pure standard SIP clients are now broken on iOS

The original submission argues that Apple is creating "the perfect walled garden," adding that "Ironically, the only VoIP 'app' that is not affected is the (future?) VoLTE client that will be added to iOS one day."

5 of 122 comments (clear)

  1. Not exactly the truth... by gnasher719 · · Score: 5, Insightful

    Apple deprecated the old VoIP interface one year ago. Absolutely obvious for anyone interested. But one year warning will obviously come as a surprise to some people.

    VoIP required that your phone was turned on, your app was running, and regularly pulled requests. An absolute battery eater. The new feature allows your phone to be asleep, use no energy, and wake up immediately when a call arrives.

  2. Apple Has Planned This For A While by alancronin · · Score: 4, Insightful

    Apple has let developers know that this change was coming for about a year and a half now. We develop a VoIP application and have been making changes well in advance of Apple fully deprecating the older socket mechanism. It does have the downside of giving Apple more control but Apple already has full control over whether you can publish to the App Store, how your UI should look (within reason based on guidelines), not duplicating system functionality, etc. However if this improves battery life and creates applications that are designed in a better fashion then it is positive change.

  3. Re: It's needed to preserve the battery by Anonymous Coward · · Score: 5, Insightful

    It just shows you who Apple thinks itâ(TM)s customer is. Theyâ(TM)re choosing to favour their user experience over their app developers wish to be lazy and to potentially do neferious things tracking the user constantly.

    Not that surprising considering which of those pays Apple to buy a price of hardware. And not the kind of move google would do given that the app developer is their true customer.

  4. Re: Meh by Rockoon · · Score: 4, Insightful

    Yet the the people who make these things need suicide nets around the buildings because..

    ...because they are considered to be worth more than a college student in America, that have significantly higher suicide rates.

    --
    "His name was James Damore."
  5. Re: Is Anyone Really Surprised by Carewolf · · Score: 1, Insightful

    They ARE doing the right thing on Android. The only ones doing something wrong is Apple.