I still can't work out how to send push notifications. So far I have firebase working on B4A. I have setup a firebase account, created a new project with the apps project name, downloaded the JSON file. But I can't find the correct code or understanding of how push notifications work.
So say you created an app and you wanted to notify all users that were running this app of some event, how do I do this. Does the notification come locally from the users app or it come from a server or the firebase website. How does it work?