Is Android Cloud 2 Device Messaging (C2DM) supported with Google 2-step verification?

I read device messages (C2DM) in Android Cloud 2, and all the documentation mentions ClientLogin as an authentication method. However, the ClienLogin information page indicates that it is incompatible with two-step verification and retry using OAuth2. Can I use OAuth2 as a replacement for ClientLogin for C2DM? I want the application to be as simple as possible, even for users who have 2-step verification.

+3
source share
1 answer

The C2DM authenticated account is the pole account that you provided when registering for C2DM. As long as this account does not use 2-step verification, everything is in order. It does not use user credentials.

Rather, it does not use user credentials to enter messages. The user must be connected to Google services on their Android device, but they installed it in due time. Once it is configured, everything looks the same as the developer.

+3
source

Source: https://habr.com/ru/post/1411193/


All Articles