你好, 我想使用pushwoosh推送服務,但設置info.plist時,他們建議卡住了。他們提到使用密鑰Pushwoosh_APPID設置ID很好,但值有:「您的Pushwoosh應用程序ID字符串值」。我試着用很少的信念應用程序代碼,但我編譯時收到此日誌,似乎證實了我的疑惑:Pushwoosh應用程序ID字符串值
2012-10-27 15:58:45.722 Taxi Profi[6130:907] Initializing application: (null), (null)
2012-10-27 15:58:46.309 Taxi Profi[6130:4b07] Sending request: {"request":{"hwid":"7f4e5685d3a4978b8ecb49fa30d4fc8b", "application":"B186B-B66EA", "badge":0}}
2012-10-27 15:58:46.311 Taxi Profi[6130:4b07] To urL https://cp.pushwoosh.com/json/1.3/setBadge
2012-10-27 15:58:46.359 Taxi Profi[6130:5207] Sending request: {"request":{"hwid":"7f4e5685d3a4978b8ecb49fa30d4fc8b", "application":"B186B-B66EA", "badge":0}}
2012-10-27 15:58:46.361 Taxi Profi[6130:5207] To urL https://cp.pushwoosh.com/json/1.3/setBadge
2012-10-27 15:58:46.993 Taxi Profi[6130:907] Error registering for push notifications. Error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x1e5c0790 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}
2012-10-27 15:58:47.339 Taxi Profi[6130:4b07] Response "200 no error": string: {"status_code":210,"status_message":"Device not found","response":null}
2012-10-27 15:58:47.341 Taxi Profi[6130:4b07] setBadges completed
2012-10-27 15:58:47.399 Taxi Profi[6130:5207] Response "200 no error": string: {"status_code":210,"status_message":"Device not found","response":null}
2012-10-27 15:58:47.404 Taxi Profi[6130:5207] setBadges completed
他們的榜樣名單這個長碼:4F0C807E51EC77.93591449我不知道他們從拿。
感謝您的幫助
是的,這就是我用過的,但是應用程序在執行時給出了上面的錯誤日誌,代碼3000在文檔中找不到。 –
@ user1323536我回答了一個教程,但是我需要pushwhoosh應用程序ID。所以如你所說我們可以從控制面板獲得它,所以可以幫助我。 –
Pushwoosh應用程序Id是在Pushwoosh控制面板的應用程序頁面左側顯示的應用程序代碼,它看起來像XXXXX-XXXXX –