Answer the question
In order to leave comments, you need to log in
Why doesn't FCM send push notifications NOT from localhost?
I get a token when I open the application, then I send a request like this:
{
"notification": {
"title": "Portugal vs. Denmark",
"body": "Lorem Ipsum",
"icon": "firebase-logo.png",
"click_action": "FCM_PLUGIN_ACTIVITY"
},
"to": "cy05g0QmiNs:APA91bGRDffgOoeAYOrcwDmASpJWNGsURtKpsP0KN-oQUzJGYqmYEfcfhlOcKVVzUFGXx82kywQWHIsZxzTEu-RvJ6fLMDgBqW9z4jMohxWq8NU5jZcKCwHjIk9ZFCdHB_ROJbyTaJUt"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question