[Reading] thinking "about the socket VoIP backstage keep long Lian was rejected by Apple"

Source: Internet
Author: User
Tags keep alive

[Reading] thinking "about the socket VoIP backstage keep long Lian was rejected by Apple"

The beautiful Life of the Sun Vulcan (http://blog.csdn.net/opengl_es)

This article follows "Attribution-non-commercial use-consistent" authoring public agreement

Reprint Please keep this sentence: Sun Vulcan's Beautiful Life-this blog focuses on Agile development and mobile and IoT device research: IOS, Android, HTML5, Arduino, Pcduino , Otherwise, the article from this blog refused to reprint or re-reproduced, thank you for your cooperation.


From the following, Apple has now come out of the technical level and began to make strides toward content review.

So, there are also want to steal machine trickery brother, you still careful for the wonderful.


Said, in the background to maintain long links, nothing but to give the server a direct communication to the client channel only, this real-time way, although good, but Apple is more concerned about user experience and user privacy.

Come to think, the identity of the client is not directly connected in this way, although Udid is not allowed to use, but Apple's official recommended UUID is the only way to generate identity, also very good.


An app installed on a device, the first run, automatically generates this UUID, stored in a sandbox, which is enough to uniquely identify a device, or more specifically, identify the app on a device.

Login verification, which is a authentication method that uses the app, does not identify the current device.

By combining device identification and user information, it is possible to fully determine which user is logged in to use the application on which device, which should be full authentication, including subsequent lifecycle controls.


Compared to Android, Apple is more suitable for the short-link stateless interactive management, each time the network request, have a reply to return, complete a network interaction; request with source identification: Device identification and user identification;

If you want to avoid the UUID of this big long string, then, put your mess seven or eight slot of things into the automatic storage cabinet, to get a storage box number is good, to use when, directly take this number to take no error, because the Depository cabinet uniform issue number, and the number is two or three bit just, presumably UUID It's less than that.


Below is the translation and reply, are very fine, then down is the original text, the title of the link.




Some translations are as follows:

We found that your app used a background mode, but did not include any functionality that would require the pattern to run for long. This behavior is incompatible with the Apple Store review guidelines.

We note that your app claims to support VoIP in the Uibackgroundmodes key in the Info.plist file, but does not provide any VoIP services.


Reply Summary:






About the socket VoIP backstage hold long Lian was rejected by Apple -----2.16-----

We found that your app uses a background mode but does not include functionality that requires so mode to run persistent Ly. This behavior isn't in compliance with the APP Store Review guidelines.

We noticed your app declares support for VoIP on the Uibackgroundmodes key in your info.plist and does not provide any Voi Ce over IP services.

We recognize that VoIP can provide "keep alive" functionality the many app features would like to use. However, using VoIP in this manner are not a intended purpose of VoIP, which, as indicated in the IOS application program Ming Guide, was that: "A Voice over Internet Protocol (VoIP) application allows the user-make phone calls using an Inter NET connection instead of the device ' s cellular service. "

It would is appropriate to add VoIP features or remove the ' VoIP ' setting from the Uibackgroundmodes key.

[Reading] thinking "about the socket VoIP backstage keep long Lian was rejected by Apple"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.