flutter-firebase-cloud-messaging-fcm-push-notification-example icon indicating copy to clipboard operation
flutter-firebase-cloud-messaging-fcm-push-notification-example copied to clipboard

Can you detail the post command to make this work

Open darkedges opened this issue 4 years ago • 1 comments

Great Tutorial but it seems to be missing the part of sending the message.

Could you include the POST command used to generate the matchscore topic?

darkedges avatar Apr 18 '20 21:04 darkedges

Great Tutorial but it seems to be missing the part of sending the message.

Could you include the POST command used to generate the matchscore topic?

you probley sorted it by now, only found this git page today and wanted to use it part of my app for notifcations.

if you send a post request for the body

body = { 'data': {'id': 1, 'matchteam': 'arsenal vs spurs', 'score': '1-0' }, 'to': deviceToken, 'priority': 'high',

    }

Sidewinder-2011 avatar Dec 01 '20 23:12 Sidewinder-2011