AHilberink Well-Known Member Licensed User Longtime User Nov 9, 2020 #1 Hi, Is it possible to refresh my loaded layout automatically after receiving a Firebase Notification and how would you do this? Best regards, André
Hi, Is it possible to refresh my loaded layout automatically after receiving a Firebase Notification and how would you do this? Best regards, André
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2020 #2 You can do whatever you like. The fm_MessageArrived event will be raised. You can check if the activity is running with: B4X: If IsPaused(Main) = False Then CallSubDelayed(Main, "PushNotificationArrived") End If Upvote 0
You can do whatever you like. The fm_MessageArrived event will be raised. You can check if the activity is running with: B4X: If IsPaused(Main) = False Then CallSubDelayed(Main, "PushNotificationArrived") End If