I am using B4XPages in my current app, my question is how we can get the current page that is showing to user ( current page ) ???
in b4a we have isPause function and that was very useful.
I am using firebase messaging, I have this code in Main module :
in b4a we have isPause function and that was very useful.
I am using firebase messaging, I have this code in Main module :
B4X:
Private Sub Application_RemoteNotification (Message As Map, CompletionHandler As CompletionHandler)
if PageChat_Was_Current_Page then ' (if PageChat is current page then show this message in this page )
' show message in PageChat
else
log(Message)
end if
CompletionHandler.Complete
End Sub
Last edited: