google_services 1.0.0+1
google_services: ^1.0.0+1 copied to clipboard
A new Dart Frog application
google_services. #
An example application built with dart_frog
First of all please add a uuid for FCM service and add value on it which ddefined in service.dart
Exapmle Curl #
curl -X POST "https://your-google-services-domain.com/push-services/{uuid}/send" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"to": "device_token_or_topic",
"notification": {
"title": "Hello",
"body": "This is a test message"
},
"data": {
"customKey": "customValue"
}
}'