【问题标题】:Ionic Applow Capactor , firebase notification warning, ITMS-90078: Missing Push Notification Entitlement need adviceIonic Appflow 电容器,firebase 通知警告,ITMS-90078:缺少推送通知权利需要建议
【发布时间】:2020-09-12 03:22:53
【问题描述】:

我最近开始使用离子电容器。我已使用以下教程成功地将我的通知迁移到 Android https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/

但是当涉及到 IOS 时,我收到以下警告:

ITMS-90078: Missing Push Notification Entitlement - Your app appears 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. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1. 

我为我的 Firebase 设置使用了“Apple Push Notification service SSL(Sandbox & Production)”认证。

在 Ionic Appflow 中,我还添加了一个新的 App Store Provisioning Profile。

我还需要做什么吗?

【问题讨论】:

    标签: angularjs firebase ionic-framework capacitor ionic-appflow


    【解决方案1】:

    检查先决条件:

    https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/#prerequisites

    尤其是数字 3: Ensure Push Notification capabilities have been enabled 在 Xcode 中的应用程序中

    该链接说明了如何添加功能,您必须搜索 Push 并双击它或将其拖到 Signing & Capabilities 窗格。

    【讨论】:

    • 我们如何使用离子电容器进行此设置?
    • 链接解释了它,截图应该有帮助,点击“能力”旁边的+号,然后双击“推送通知”
    • 我没有运行 Xcode 的 Apple 设备。我通常在 appflow 上构建,然后使用 ipad 运行应用程序。没有 xcode 有没有办法做到这一点?
    • 我不这么认为。您可能可以编写一些使用github.com/apache/cordova-node-xcode 添加它的节点脚本,但不知道如何
    猜你喜欢
    • 2021-12-17
    • 2015-03-12
    • 2015-11-25
    • 2015-11-27
    • 2020-09-02
    • 2015-11-28
    • 2015-11-21
    相关资源
    最近更新 更多