Mashiane Expert Licensed User Longtime User Jan 25, 2021 #1 Ola How can I call a B4xPages page when a message has been received from Firebase? I would like to update a badge value (using WobbleMenu) when a message arrives by calling a method perhaps in any of the B4XPages? Thanks
Ola How can I call a B4xPages page when a message has been received from Firebase? I would like to update a badge value (using WobbleMenu) when a message arrives by calling a method perhaps in any of the B4XPages? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 25, 2021 #2 Check whether B4XPages.IsInitialized is true. If it is then you can do whatever you like: B4X: B4XPages.MainPage.DoSomething If not then you can only show a notification. Upvote 0
Check whether B4XPages.IsInitialized is true. If it is then you can do whatever you like: B4X: B4XPages.MainPage.DoSomething If not then you can only show a notification.