Hi.
I want through a VB.NET application I created
to send notification messages to all users they
use my Android application using Firebase services.
My code working fine and notification messages take place
but only when Android application running in the background
or the application is closed. If the application is running then
the notifications come writing only Null on body and tittle.
What I am missing here?
Is there something else I need to look after?
The Json I use is like that.
I want through a VB.NET application I created
to send notification messages to all users they
use my Android application using Firebase services.
My code working fine and notification messages take place
but only when Android application running in the background
or the application is closed. If the application is running then
the notifications come writing only Null on body and tittle.
What I am missing here?
Is there something else I need to look after?
The Json I use is like that.
B4X:
Dim data = New With {
.[to] = deviceId,
.notification = New With {
.body = MaterialComment,
.title = "Αλλαγές τιμών.",
.sound = "Enabled",
.click_action = "Main"
}
}