Android GCM


FCM and GCM:

For existing apps that extend a WakefulBroadcastReceiver, Google recommends migrating to GCMReceiver and GcmListenerService. To migrate:

  • In the app manifest, replace your GcmBroadcastReceiver with “”, and replace the current service declaration that extends IntentService to the new GcmListenerService
  • Remove the BroadcastReceiver implementation from your client code
  • Refactor the current IntentService service implementation to use GcmListenerService

For details, see the example manifest and code samples in this page.

Uninstall tracking event: