开发者

Verify C2DM Auth Token - Android / Urban Airship

I'm (attempting) to use push notifications with Android via Urban Airship.

I've register for C2DM, and received the confirmation email, generated my auth token - but when I try to send a test push notification I get this error:

C2DM push to apid ***ID number here*** failed due to invalid auth token 

How can I verify that the auth token is correct开发者_开发技巧?


Is the authentication token being included in the headers of the POST? The only reasons I can think of are that the authentication token wasn't sent or is old.


Maybe the reason is case sensitive auth-header, see:
c2dm 401 error when sending messages after receiving id and auth token

Hope that helps, regards CL

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜