Hello
Recently I have a problem with firebase notification.
I use this code (https://www.b4x.com/android/forum/t...s-firebase-cloud-messaging-fcm.67716/#content)
with my app and it worked since last month,
But today that I have try, the notification that arrives, have Title and body = "NULL"
This happens if I send it from firebase.
if I use b4j the notification doesn't arrive.
log in b4a when recive notification from Firebase
B4X:
** Service (firebasemessaging) Start **
Message arrived
Message data: {}
Log after sent a notification with b4j code
B4X:
** Waiting for the debugger to connect...
Program started.
[jobname=fcm, success=true, username=
, password=, errormessage=, target=class b4j.example.main
, taskid=1, req=anywheresoftware.b4h.okhttp.OkHttpClientWrapper$OkHttpRequest@657c8ad9, response=anywheresoftware.b4h.okhttp.OkHttpClientWrapper$OkHttpResponse@436a4e4b
, tag=java.lang.Object@f2f2cc1, main=null, httputils2service=null
]
{"message_id":3175524028876544081}
Sending from b4j code, the notification arrived on my app ONLY in release Version, but I'm not sure that arrived in other users
Another thing that I would like to solve is that, when the timer starts and go in the background, it appears as the icon. I would like to HIDE it
there is also the notification that the app uses the battery
1. Don't send from the Firebase console.
2. Notifications will not arrive when the app is not running and it was compiled in debug mode. That's expected as the app cannot start without the IDE.