Flutter OneSignal的订阅状态在iOS上始终为假?

时间:2019-02-19 08:49:21

标签: flutter onesignal

我遵循OneSignal文档的所有说明。我尝试了很多次。我仍然可以实现。 Onesignal仪表板中的每月活动量增加了用户数量。但是在我设置为True之后,用户订阅的数量仍然保持不变。

问题在iOS上,android很好。

flutter: {
  "permissionStatus": "{
  "hasPrompted": false,
  "provisional": false,
  "status": 0
}",
  "subscriptionStatus": "{
  "subscribed": false,
  "userSubscriptionSetting": true,
  "pushToken": null,
  "userId": "ed5ace9b-5703-4da4-85da-fdf5a63b90b7"
}",
  "emailSubscriptionStatus": "{
  "subscribed": false,
  "emailUserId": null,
  "emailAddress": null
}"
}

更新:

˚ERROR: ERROR! Unknown 3000 error returned from APNs when getting a push token: Error Domain=NSCocoaErrorDomain Code=3000 "no valid “aps-environment” entitlement string found for application" UserInfo={NSLocalizedDescription=no valid “aps-environment” entitlement string found for application}

0 个答案:

没有答案