gpt4 book ai didi

ios - 关于 iOS 推送的问题

转载 作者:行者123 更新时间:2023-11-29 13:12:44 25 4
gpt4 key购买 nike

我想知道关于 iOS 推送通知的两个问题:

  • 我正在管理我发送给很多人的内部应用程序。是否可以在没有固定应用程序 ID 的情况下启用推送通知?实际上,我的所有应用程序都有一个应用程序 ID(看起来像 com.company.*),以便不为每个应用程序创建一个 ID。我的目标是让我的内部应用能够接收推送通知:)

  • 我们可以将生成的 iOS SSL 证书用于其他用途还是专门为 iOS 推送创建的?

非常感谢!

最佳答案

通配符 App ID 不适用于 Game Center、Apple 推送通知服务 (APNS)、应用内购买 (IAP)、数据保护和 iCloud。

结论:必须使用显式 App ID。

来自 Apple 的 Provisioning Portal 文档:

An App ID is the combination of a unique ten character string called the "Bundle Seed ID" and a traditional CF Bundle ID (or Bundle Identifier). The Bundle Seed ID portion of your App ID can be utilized to share keychain access between multiple applications you build with a single App ID. In addition, it can be incorporated into any external hardware accessories you wish to pair your iOS application with. Registration of your App ID is required to utilize the Apple Push Notification service (APNs) and to register an application to incorporate In App Purchases.

The Bundle Identifier portion of an App ID can be substituted with a wild-card character (asterisk '*') so that a single App ID may be used to build and install multiple applications. If the wild-card character is not used, the Bundle Identifier portion of your App ID must be input as your CF Bundle ID in Xcode to allow the application to install on your device. The Bundle Seed ID portion of your App ID does not need to be input into Xcode. Wild-card App IDs cannot be used with the Apple Push Notification service or for In App Purchase.

引用:https://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html

关于ios - 关于 iOS 推送的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16770705/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com