Google Cloud Messaging - wikipedia Google Cloud Messaging Google Cloud Messaging Overview of the GCM Service architecture. Developer ( s ) Google Target platform ( s ) Android, Chrome Programming language ( s ) Java Status Active License Proprietary Google Cloud Messaging ( commonly referred to as GCM ) is a mobile notification service developed by Google that enables third - party application developers to send notification data or information from developer - run servers to applications that target the Google Android Operating System, as well as applications or extensions developed for the Google Chrome internet browser. It is available to developers free of charge. The GCM Service was first announced in June 2012 as a successor to Google 's now - defunct Android Cloud to Device Messaging ( C2DM ) service, citing improvements to authentication and delivery, new API endpoints and messaging parameters, and the removal of limitations on API send - rates and message sizes. It has been superseded by Google 's Firebase Cloud Messaging ( FCM ). Contents 1 Development 2 Technical details 3 See also 4 References 5 External links Development This section needs expansion. You can help by adding to it. ( September 2014 ) GCM first launched as Google 's Android Cloud to Device Messaging ( C2DM ) service, first featured in Android 2.2 by Google. The transition to Google Cloud Messaging was first announced when the Android service was unveiled on June 27, 2012, at Google I / O. Shortly after announcing the Google Cloud Messaging service, Google published documentation to guide application developers with migrating from the C2DM and onto the new service. Migrating to the service required SDK and code changes, as well as a release of an application update to the publish repository ( such as Google Play ) for downloading and updating. The Chrome service was announced before Google I / O 2013 in a blog post titled ' Building efficient apps and extensions with push messaging. ' At I / O 2015, Google announced a new SDK and iOS support. Technical details Google Cloud Messaging functions using server APIs and SDKs, both maintained by Google. The GCM has the ability to send push notifications, deep - linking commands, and application data. Larger messages can be sent with up to 4 KB of payload data. Upon allowing the application permission to receive and display notifications, the client application sends a registration API request to the Google Cloud Messaging interface to begin the registration process. The GCM Service receives and acknowledges the request and responds by giving the device a GCM Registration ID, a unique identifier that the developer later uses to send a notification to the individual device. The identifier is stored onto the device, and is typically sent to the developer 's application server to be stored. The GCM Registration ID is a randomly - generated identifier that does not contain any personal or device information that could allow a developer to discover the personal identity of the user. When the developer wishes to send a notification event to a device, the process begins with an API POST request being sent to the GCM Authentication Service. The POST request includes the GCM Registration ID, priority, optional values and links, and the information that is to be displayed on the device upon its arrival. Upon successful verification of the GCM Registration ID and other credentials, an authentication token is returned. Both identifiers are then sent to the GCM Service to be enqueued and delivered to the device. See also Firebase Cloud Messaging ( FCM ) Android software development Apple Push Notification Service SQL Server Notification Services Windows Notification Service References Jump up ^ Ghosh, Angana ( 2012 - 06 - 27 ). `` Android Developers Blog ''. Introducing Android 4.1 ( Jelly Bean ) preview platform, and more. Retrieved 2016 - 09 - 09. Jump up ^ Rubio, Daniel ( August 12, 2012 ). `` Google Cloud Messaging for Android ( GCM ) Unveiled, to Replace C2DM Framework ''. Retrieved October 15, 2015. Jump up ^ `` Android Cloud to Device Messaging Framework ''. Google Inc. Jump up ^ `` Android 2.2 Platform Highlights ''. Google Inc. Archived from the original on 2012 - 07 - 06. Jump up ^ `` Google Cloud Messaging ( GCM ) - Google Play for Developers Help ''. Google Inc. Jump up ^ Tarantola, Andrew ( June 27, 2012 ). `` Google 's New Cloud Messaging System Does More for Less ''. Gizmodo. Retrieved August 10, 2012. Jump up ^ `` Migration from C2DM ''. Google. Retrieved October 15, 2015. Jump up ^ Scott, Mark ( May 9, 2013 ). `` Building efficient apps and extensions with push messaging ''. Google. Retrieved May 14, 2013. Jump up ^ `` Google Cloud Messaging for Android ''. Google. Jump up ^ `` Registering Client Apps ''. Google. January 14, 2016. Retrieved February 5, 2016. External links Official Google Cloud Messaging Websites Official Firebase Cloud Messaging Official Android Developer Page Official Chrome Developer Page GCM Collegelib Seminar Google Chrome Push Notifications implementation by MindAsk PushEm - Google Cloud Messaging Provider Android Software development Official development tools Software Development Kit ( SDK ) Android Debug Bridge ( ADB ) Fastboot Android application package ( APK ) Native Development Kit ( NDK ) Android Open Accessory Development Kit Bionic RenderScript Skia Dalvik Android Runtime ( ART ) Firebase Google Cloud Messaging ( GCM ) Firebase Cloud Messaging ( FCM ) AdMob Material Design Fonts Droid Roboto Noto Google Developers Other development tools OpenBinder Apache Harmony OpenJDK Gradle Integrated development environments ( IDE ) Android Studio IntelliJ IDEA Eclipse Android Development Tools ( ADT ) App Inventor Languages & Databases Java Kotlin XML C++ SQLite Virtual reality Cardboard Daydream Events & Communities Google I / O Developer Challenge Developer Lab Android Open Source Project ( AOSP ) Releases 1.0 Cupcake ( 1.5 ) Donut ( 1.6 ) Eclair ( 2.0 - 2.1 ) Froyo ( 2.2 ) Gingerbread ( 2.3 ) Honeycomb ( 3. x ) Ice Cream Sandwich ( 4.0 ) Jelly Bean ( 4.1 - 4.3 ) KitKat ( 4.4 ) Lollipop ( 5. x ) Marshmallow ( 6.0 ) Nougat ( 7. x ) Oreo ( 8. x ) Derivatives Android Auto Android Things Android TV Android Wear Smartphones & Tablets Google Pixel Pixel & Pixel XL Pixel 2 & Pixel 2 XL Pixel C Nexus devices Nexus One Nexus S Galaxy Nexus Nexus 4 Nexus 5 Nexus 5X Nexus 6 Nexus 6P Nexus 7 2012 version 2013 version Nexus 10 Nexus 9 Nexus Q Nexus Player Google Play edition HTC One ( M7 ) HTC One ( M8 ) LG G Pad 8.3 Moto G Samsung Galaxy S4 Sony Xperia Z Ultra Android One Customized variants Android - x86 Remix OS AOKP Baidu Yi Barnes & Noble Nook ColorOS CopperheadOS CyanogenMod EMUI Fire OS Funtouch OS Flyme OS LeWa OS LineageOS MIUI Nokia X software platform OPhone OmniROM OxygenOS Replicant Samsung Experience Ubuntu for Android XobotOS Yun OS Applications Assistant Google Now Earth Gmail Google Chrome for Android Goggles Hangouts Maps Navigation Pay Play Books Games Movies & TV Music Newsstand Sky Talk Voice APIs Google Maps Google Play Services Google Search Alternative user interfaces Asus Zen UI Hive UI HTC Sense Google Pixel UI LG UX ( Optimus UI ) Samsung TouchWiz Lists Custom firmware Features Free and open - source applications Games Google apps Launchers Related topics Index of articles Google Androidland Lawn statues Chromecast Java vs. Android API Legal issues Oracle America, Inc. v. Google, Inc. Smartphone patent wars XDA Developers Rooting Jump up ^ Cite error : The named reference Building efficient apps and extensions with push messaging was invoked but never defined ( see the help page ). Retrieved from `` https://en.wikipedia.org/w/index.php?title=Google_Cloud_Messaging&oldid=806315304 '' Categories : Mobile telecommunications Google services Hidden categories : Articles to be expanded from September 2014 All articles to be expanded Articles using small message boxes Pages with reference errors Pages with broken reference names Talk Navigation Contents About Wikipedia فارسی Français Қазақша Русский 中文 Edit links This page was last edited on 21 October 2017, at 05 : 01. Text is available under the Creative Commons Attribution - ShareAlike License ; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia ® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. About Wikipedia

Question: what is the use of gcm in android
Answer: enables third-party application developers to send notification data or information from developer-run servers to applications that target the Google Android Operating System, as well as applications or extensions developed for the Google Chrome internet browser