简体   繁体   English

带有PushSharp应用程序的Xamarin.IOS可以被Apple AppStore拒绝吗?

[英]Can a Xamarin.IOS with PushSharp app be rejected by Apple AppStore?

I am designing a project that will use Xamarin.iOS for creating an iPhone/iPad application, which will make use of push notifications and in the end, it has to be published to Apple AppStore . 我正在设计一个项目,该项目将使用Xamarin.iOS创建iPhone / iPad应用程序,该应用程序将使用推送通知,最后必须将其发布到Apple AppStore中 While I have to use Xamarin.iOS, I know that push notifications are done by using the PushSharp library . 虽然我必须使用Xamarin.iOS,但是我知道通过使用PushSharp库可以完成推送通知。 Having in mind the constraints that Apple impose for publishing an app in their store, especially these points: 考虑到苹果在商店中发布应用程序所施加的限制,尤其是以下几点:

  • 2.5 Apps that use non-public APIs will be rejected 2.5使用非公开API的应用将被拒绝
  • 5.1 Apps that provide Push Notifications without using the Apple Push Notification (APN) API will be rejected 5.1在不使用Apple Push Notification(APN)API的情况下提供Push Notifications的应用将被拒绝

So, will using PushSharp library to send push notifications to iOS devices, cause my app to be rejected by Apple? 因此,使用PushSharp库将推送通知发送到iOS设备是否会导致我的应用被Apple拒绝?

No, because PushSharp only uses public libraries, and it uses Apples system to send notifications. 不可以,因为PushSharp仅使用公共库,并且使用Apples系统发送通知。 So, Apple will have no problem with your app if you use it. 因此,如果您使用Apple,Apple不会对您的应用程序造成任何问题。

I don't think that Xamarin creates C# wrappers for any private methods so I don't think you have to worry about that. 我认为Xamarin不会为任何私有方法创建C#包装程序,因此我认为您不必为此担心。 Under the hood, I'm pretty sure that @redth uses the native push services for each platform. 在幕后,我非常确定@redth对每个平台都使用本机推送服务。 Also, doesn't PushSharp 'run' on your server not your ios app? 此外,PushSharp不会在服务器而不是ios应用上“运行”吗? This shouldn't affect your app anyway. 无论如何,这不会影响您的应用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM