gpt4 book ai didi

ios - 您还没有注册任何设备 token - Urban Airship

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:15:03 25 4
gpt4 key购买 nike

我使用 Urban Airship 来推送通知。以下是状态。

2013-03-21 14:39:16.231 SAMA[18048:907] [D] -[UAPush applicationDidBecomeActive] [Line 555] Checking registration status after foreground notification
2013-03-21 14:39:16.232 SAMA[18048:907] [D] -[UAPush applicationDidBecomeActive] [Line 561] Checking registration on app foreground disabled on app initialization
2013-03-21 14:39:16.399 SAMA[18048:907] [D] -[UAUser listenForDeviceTokenReg] [Line 931] ListenForDeviceTokenReg
2013-03-21 14:39:17.530 SAMA[18048:907] [D] -[UAUser retrieveRequestSucceeded:] [Line 873] User retrieved: 200:{
"user_id" : "z3hUpYOpRKeLOAfKyjIvRQ",
"user_url" : "https://device-api.urbanairship.com/api/user/xxxxxxxxxxxxxxxxxx/",
"tags" : [ ],
"device_tokens" : [ ],
"device_pins" : [ ],
"apids" : [ ],
"has_active_subscription" : false,
"subscriptions" : [ ],
"ua_device_ids" : [ "xx-DFxxAB-xx-xxx-xxx" ],
"badge" : 0,
"server_time" : "2013-03-21 11:39:18"
}
2013-03-21 14:39:17.550 SAMA[18048:907] [D] -[UAUser updateDefaultDeviceToken] [Line 978] Updating device token.
2013-03-21 14:39:17.552 SAMA[18048:907] [D] -[UAUser updateDefaultDeviceToken] [Line 981] Skipping device token update: no token, already up to date, or user is being updated.
2013-03-21 14:39:31.123 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 275] Retrieved device id info from keychain.
2013-03-21 14:39:31.124 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 279] Device ID result is not nil.
2013-03-21 14:39:31.125 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 288] Loaded Device ID: xxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx
2013-03-21 14:39:31.126 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 289] Loaded Model Name: iPhone4,1
2013-03-21 14:39:32.399 SAMA[18048:907] [D] -[UAAnalytics requestDidSucceed:response:responseData:] [Line 461] Analytics data sent successfully. Status: 200

仍然在我的帐户中,我看到您还没有注册任何设备 token 。

即使我运行应用程序,它也不会要求确认推送通知。

我按照 their documentation 做了所有事情.但仍然没有运气。

最佳答案

Urban Airship 的完美解决方案是

  1. 创建应用 ID
  2. 启用 APNS
  3. 然后创建配置文件

(注意:删除计算机上和管理器窗口中的所有配置文件)。不要在 xcode 中保留该项目的配置文件。早点删除并再次执行上述步骤。问题将得到解决。

关于ios - 您还没有注册任何设备 token - Urban Airship,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15546786/

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