I created a new project and installed cordova-plugin-firebase-messaging. I'm able to receive messages and read the payload on the javascript side, but the actual notification never pops up.
I get 2 errors. Invalid ID 0x00000000 and Failed to load notification color.
Cordova 9.0 Cordova Android 8.0 Android Studio 4.1.3
Payload c# code
var message = new MulticastMessage()
{
Tokens = registrationTokens,
Notification = new Notification()
{
Body = body,
Title = title,
}
};
What "java errors" do you mean? You can debug the running app from device or emulator using DDMS to locate the exact error(s). You also failed to include sample code of the sent notification payload, please rememebr users here don't have access to your source code or your PC so we can't help you unless you expand your question.
User contributions licensed under CC BY-SA 3.0