Cordova plugin cordova-plugin-firebase-messaging Invalid ID

1

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,
            }
        };
android
cordova
phonegap
asked on Stack Overflow Apr 28, 2021 by Jason • edited May 3, 2021 by Jason

1 Answer

0

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.

answered on Stack Overflow Apr 30, 2021 by andreszs

User contributions licensed under CC BY-SA 3.0