开发者

Is Android Cloud 2 Device Messaging (C2DM) compatible with Google's 2-step verification?

开发者 https://www.devze.com 2023-03-10 06:53 出处:网络
I\'ve been reading up on Android\'s cloud 2 device messaging (C2DM) and all the documentation mention Clie开发者_Go百科ntLogin as the authentication method. However the ClienLogin info page specifical

I've been reading up on Android's cloud 2 device messaging (C2DM) and all the documentation mention Clie开发者_Go百科ntLogin as the authentication method. However the ClienLogin info page specifically states its not compatible with 2-step verification and recomments using OAuth2. Can I use OAuth2 as a replacement for ClientLogin for C2DM? I want to make the application experience as seamless as possible even for users who have 2-step verification enabled.


The account that gets authenticated with C2DM is the pole account that you provided when you signed up for C2DM. As long as that account does not use 2-step verification, everything is fine. It does not use the user's credentials.

Rather, it does not use the user's credentials to push messages. The user must be signed in to Google services on their Android device, but they set that up on their own time. Once it is set up, everything looks the same to you as a developer.

0

精彩评论

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

关注公众号