【发布时间】:2021-08-16 09:00:15
【问题描述】:
我已经创建了标识符并添加了证书。当我在 IOS 设备上运行我的应用程序时,我在日志中得到以下信息。
8.3.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError:
no valid “aps-environment” entitlement string found for application
8.3.0 - [Firebase/Messaging][I-FCM002022] APNS device token not set before retrieving FCM Token for Sender ID '137210307895'. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set.
我已按照连接 firebase 和 Flutter IOS 的所有步骤操作,但仍然看到此错误。有谁知道如何解决这个问题?
【问题讨论】:
标签: flutter firebase-notifications