airbop / airbop-client

AirBop Client Example App for Android / GCM
Apache License 2.0
17 stars 16 forks source link

GCM.jar and GCMRegistrar deprecated #1

Open phileo opened 10 years ago

phileo commented 10 years ago

Both the GCM.jar and GCMRegistrar class that this sample app uses have been deprecated by Google, and replaced by their newer GoogleCloudMessaging API.

GCM.jar no longer exists and instead has been incorporated into the google-play-services.jar in the newer Android SDK v4.3 (API v18 ). Are there any plans to update this app to use the new GoogleCloudMessaging API and google-play-services.jar?

MarkIR commented 10 years ago

Hi Phileo,

Yes the Google Cloud Messaging for Android gcm.jar has been depreciated and the GCM functionality has been moved in to Google Play Services, however the gcm.jar method should still work for some time, given that Google still supports the old C2DM method.

You should still be able to install the gcm.jar using the Android SDK Manager, it can be found in the extras folder under "[Deprecated] Google Cloud Messaging for Android".

We are looking into supporting the new API however I do not have a specific time frame for when that will be.

Thanks!

sesam commented 10 years ago

woa, you're supposed to be experts on this?