Slide 13
Slide 13 text
Cloud Messaging
● Firebase Cloud Messaging, formerly known as Google
Cloud Messaging
● Automatically generates device token for you without
writing single line of code
● It handles automatically whether to display the
notifications or not.
{
"to" :
"APA91bHun4MxP5egoKMwt2KZFBaFUH-1RYqx...",
"notification" : {
"body" : "Shall we meet tomorrow ?",
"title" : "Xender Cage",
"icon" : "ic_launcher"
},
"data" : {
"From" : "Xender Cage",
"Body" : "Shall we meet tomorrow ?",
“Time” : 1478363235662
}
}