I developd app that receive Firebase notification from B4J. I would like the app to open when the user clicks on the notification. In the FirebaseMessaging I wrote:
But, when you click on the notification, nothing happens.
Thanks for the support
FirebaseMessaging:
Sub fm_MessageArrived (Message As RemoteMessage)
Log("Message arrived")
Log($"Message data: ${Message.GetData}"$)
Dim n As Notification
n.Initialize2(n.IMPORTANCE_HIGH)
n.Icon = "alert"
n.AutoCancel=True
n.SetInfo2("Titolo: "&Message.GetData.Get("title"), Message.GetData.Get("body"), "test!", Main)
n.Notify(1)
End Sub
But, when you click on the notification, nothing happens.
Thanks for the support