Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is com.google.android.c2dm.intent.RECEIVE still in use?

I've seen that c2dm itself is deprecated. But the new method, Google Cloud Messaging, seems to send intents with com.google.android.c2dm.intent.RECEIVE as the action.

My code is using this to get the registration key:

gcm = GoogleCloudMessaging.getInstance(getApplicationContext());
gcm.register(SENDER_ID);

Things are arriving correctly, but I'm wondering if I've left something in a half-deprecated state.

like image 544
Carlos Avatar asked Aug 08 '14 16:08

Carlos


1 Answers

the com.google.android.c2dm.intent.RECEIVE is also used by the firebase cloud messaging

like image 94
hari Avatar answered Sep 28 '22 08:09

hari