Notification-Payload-FCM Demo example of Push notificatio payload using FCM console. Note : add your google-services.json file and credentials PIC 1: Main Screen PIC 2 : Notification Payload PIc 3 : Postman Header Details (Use Your legacy server key) PIC 4: Data to be send in notification [Generate your own token( can find code in activity)] Json data to be send in notification { "to":"eUeEYkFaX3U:APA91bEvZpAWh3O47Ht-HnzdSIfwahvH-qGxucBrY- xxKCQq9KdjmacQhFPnqItDTsDSpFrQ5V_gNRXdxbN7H3nUhyiXKn6upftmJr10Hl8JEyEbGiF6Dk1G1TzAZ_KasT--1T18MYnw", "data": { "title": "By Google", "message": "Let's go to GDG on this 22th September", "image-url":"https://docs.centroida.co/wp-content/uploads/2017/05/notification.png" } } |