Hi,
I am using Firebase notifications in my app.
I have noticed that if I run the app in the background (running the app and then press the home button, so the app is not showing) if a notification is received it shows the name of my app in the title and message of the notification.
I also can't clear that notification after it has been received until the app fully closes.
Anyone else noticed this or know how to make it so that it doesn't display that notification?
In my fm_MessageArrived sub I have:
There is no where in my app that makes it show the notification, so it looks like somehow the firebase lib is doing it ?
This only displays this notification when it receives a firebase message and the app is not visible on the screen. If the app is showing on the screen and a message is received then it doesn't show this notification.
This happens in both debug and release mode.
I am using B4A 8.00.
Running my App on Android 8.1.0
Target SDK 26.
FirebaseNotification Lib v1.10
FirebaseAnalytics Lib v1.00
I am using Firebase notifications in my app.
I have noticed that if I run the app in the background (running the app and then press the home button, so the app is not showing) if a notification is received it shows the name of my app in the title and message of the notification.
I also can't clear that notification after it has been received until the app fully closes.
Anyone else noticed this or know how to make it so that it doesn't display that notification?
In my fm_MessageArrived sub I have:
B4X:
Sub fm_MessageArrived (Message As RemoteMessage)
Log("Message arrived")
Log($"Message data: ${Message.GetData}"$)
End Sub
There is no where in my app that makes it show the notification, so it looks like somehow the firebase lib is doing it ?
This only displays this notification when it receives a firebase message and the app is not visible on the screen. If the app is showing on the screen and a message is received then it doesn't show this notification.
This happens in both debug and release mode.
I am using B4A 8.00.
Running my App on Android 8.1.0
Target SDK 26.
FirebaseNotification Lib v1.10
FirebaseAnalytics Lib v1.00