本文介绍了XMPP聊天应用因使用VoIP服务作为后台模式而被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了一个XMPP聊天应用程序,其中我使用Voip服务获取Voip密钥,以便在我处于后台时收到聊天消息。功能都运行良好,但应用程序商店拒绝应用程序,响应如下:

I Have done a XMPP chat app in which I am using Voip service for getting the Voip key in order to recieve the chat message when I am in background. The functionality all worked fine but the app store is rejecting the app with a response as given below:

2.16
我们发现您的应用程序使用后台模式但不包含要求该模式持久运行的功能。此行为不符合App Store审核指南。

2.16 We found that your app uses a background mode but does not include functionality that requires that mode to run persistently. This behavior is not in compliance with the App Store Review Guidelines.

我们注意到您的应用在Info.plist中的UIBackgroundModes键中声明支持VoIP但不提供任何IP语音服务。

We noticed your app declares support for VoIP in the UIBackgroundModes key in your Info.plist but does not provide any Voice over IP services.

我们认识到VoIP可以提供许多应用功能想要使用的保持活跃功能。但是,以这种方式使用VoIP并不是VoIP的预期目的,如iOS应用程序编程指南所示,它是:互联网协议语音(VoIP)应用程序允许用户使用Internet连接拨打电话而不是设备的蜂窝服务。

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

添加VoIP功能或从UIBackgroundModes键中删除VoIP设置是适当的。对于离散的代码级问题,您可以咨询Apple Developer Technical Support。当DTS工程师跟进您时,请准备好提供:

It would be appropriate to add VoIP features or remove the "VoIP" setting from the UIBackgroundModes key.For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:


  • 拒绝问题的完整详情

  • 屏幕截图

  • 重现问题的步骤

  • 符号化崩溃日志 - 如果您的问题导致崩溃日志

  • complete details of your rejection issue(s)
  • screenshots
  • steps to reproduce the issue(s)
  • symbolicated crash logs - if your issue results in a crash log

如果您在复制报告的问题时遇到困难,请尝试按照 TechnicalQ& A QA1764:如何重现只有App Review或用户看到的崩溃或错误。

If you have difficulty reproducing a reported issue, please try testing the workflow as described in https://developer.apple.com/library/ios/qa/qa1764/TechnicalQ&A QA1764: How to reproduce a crash or bug that only App Review or users are seeing.

我需要某人的强烈回答,以便我可以获得功能工作正常并且也被批准用于App Store。

I need a strong answer from someone so that I can get the functionality to work fine and also be approved for the App Store.

我认为在iOS 7发布后拒绝发生。我需要一些已经上传过的人的帮助发布后的XMPP聊天应用程序iOS 7

I think the rejection is happening after the release of iOS 7. I need some assistance from someone who has uploaded a XMPP chat app after the release of iOS 7

推荐答案

你不能只添加 voip 标志和获得Appstore批准后,您需要实施VOIP功能,否则您将被拒绝。 Appstore中的大多数XMPP应用程序无法在后台运行,但其中一些应用程序通过实现VOIP并获得 voip 标志的批准。

You can't just add voip flag and get approved by Appstore, you need to implement VOIP functionality or you will be rejected. Most XMPP applications in Appstore does not work in background, but some of them implements VOIP over Jingle and get approved with voip flag.

另一方面,如果你的应用程序坚持你的XMPP服务器,你可以修改服务器行为 - 即使他断开连接,管理收到的消息并通过Apple推送通知通知用户,也可以保持用户会话在线。然后用户启动app,恢复上一个会话并获取所有存储的消息。此行为尚未标准化,但有一些。

On the other hand, if your application stick to your XMPP server, you can modify server behaviour - stay user session online even if he disconnected, manage received messages and notify user about it via Apple Push Notifications. Then user launch app, resume previous session and get all stored messages. This behaviour not yet standartized, but there is some work-in-progress specification.

这篇关于XMPP聊天应用因使用VoIP服务作为后台模式而被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 16:42