Presentation is loading. Please wait.

Presentation is loading. Please wait.

Google Cloud Messaging (sort of)

Similar presentations


Presentation on theme: "Google Cloud Messaging (sort of)"— Presentation transcript:

1 Google Cloud Messaging (sort of)
Cosc 4735 Google Cloud Messaging (sort of)

2 The Cloud How it should work… and was explained.

3 Google Cloud Messaging

4 Downstream messaging server=>client

5 Thinking behind the design
Clients don’t have wake up and poll the server for updates They register for notifications and then wait for the to arrive GCM is engineered to minimize the amount of time the cellular radios exchange data This is because Google Cloud Messaging (GCM) comes power

6 Upstream messaging client=>server

7 Send an upstream message client => server
To initiate an upstream message, the client app sends a request containing the following: The address of the receiving app server, in the format A message ID that should be unique per sender ID. The message data comprising the key/value pairs of the message's payload.

8

9 How it really works… A backend rest service
via GCM google cloud messaging (deprecated) Via FCM firebase cloud messaging Added to your studio project and pushed the google systems Plus the receiver/sender on the device.

10 To the example This is best shown as a live demo of setup
Except all my examples use the deprecated GCM, not FCM.

11 Q A &


Download ppt "Google Cloud Messaging (sort of)"

Similar presentations


Ads by Google