Hi everyone
I have these codes ==> https://www.b4x.com/android/help/core.html#notification
In this section we can open an activity =>
But
I intend to open a link after a click notification
like this ==> https://www.google.com
Can you guide me?
Thank you
I have these codes ==> https://www.b4x.com/android/help/core.html#notification
B4X:
Sub fm_MessageArrived (Message As RemoteMessage)
Log("Message arrived")
Log($"Message data: ${Message.GetData}"$)
Dim n As Notification
n.Initialize
n.Icon = "icon"
n.SetInfo(Message.GetData.Get("title"), Message.GetData.Get("body"), Main)
n.Notify(1)
End Sub
In this section we can open an activity =>
B4X:
n.SetInfo(Message.GetData.Get("title"), Message.GetData.Get("body"), Main)
But
I intend to open a link after a click notification
like this ==> https://www.google.com
Can you guide me?
Thank you