I have a question about firebase notification service. I send notification from firebase console it receive successfully and i user click on notification then i open "TrackinActivity", this work fine. But if user open app and stay on "TrackinActivity" and then firebase notification receive i want without any refresh in TrackinActivity a funtion is trigger in TrackinActivity. which change some values in TrackinActivity without refresh.
I mean in this function:
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
super.onMessageReceived(remoteMessage);
}
i want to call a function of that tracking activity without refresh.