apple-push-notifications - 在多个苹果 channel 中使用 PushSharp

标签 apple-push-notifications pushsharp

我是 PushSharp 的新手,并试图了解如何使用它。

我有一种情况,我有不同版本的苹果应用程序。例如:MyApp、MyAppHD、MyAppPremium、MyAppPremiumHD。
我对这些和 4 个不同的推送证书有不同的捆绑标识符。

当我收集设备 pushid 时,我知道哪个属于哪个包标识符。

我的问题是,如果我将它与 PushSharp 一起使用,我是否会创建 4 个不同的 PushService 实例?或者我是否将 4 个 Apple channel 添加到一个 PushService?

如果我可以使用 4 个 channel ,我如何指定特定设备属于哪个 channel ?

如果我创建了多个实例,我想知道这样做是否会对性能造成重大影响,还是此时无关紧要?

谢谢
jack

最佳答案

最好的方法是使用 4 PushBroker(v2 中的新 PushService)。

有很多PushBroker没有问题,每一个真的很轻。

如果一个应用程序由一个服务管理,则更容易控制每个应用程序。

关于apple-push-notifications - 在多个苹果 channel 中使用 PushSharp,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14334453/

相关文章:

apple-push-notifications - iOS 13是否具有获取设备通知 token 的新方法?

php - 如何使用 [PHP] cURL 发送 HTTP/2 PING 帧

swift - 应用程序未运行时的远程推送通知崩溃

c# - 使用 C# Push Sharp 库的推送通知在生产服务器上不起作用

c# - PushSharp 错误消息发送 IOS 推送通知

ios - 不显示仅包含数字的iOS推送通知

php - 向许多设备 token 发送推送通知

pushsharp - PushSharp 的正确使用方法是什么?

c# - Push sharp call back 成功但是没有收到通知?

c# - PushSharp 异常 : The credentials supplied to the package were not recognized