是否可以检查应用程序是否使用推送通知 api?我从应用程序中删除了推送通知,但我的应用程序因以下警告而被拒绝:
Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
据我所知,我应该:
If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning.
是否可以检查 API?
最佳答案
我有一个类似的问题,但在 iOS 上使用 Cordova 应用程序时,忽略警告可能会导致 future 的应用程序在没有任何建议的情况下被拒绝,所以我建议解决它。 This post帮助了我。
希望对你也有帮助。
关于ios - 删除推送通知 api?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25968408/