Library contains web block to receive firebase push notifications. It continuously listen to incoming notification in foreground and background at the same time. When the block loads to the browser it register a device token to the firebase server and return the device token back to client.
There are public server actions to send notification to registered client device using admin token.
1. SendMessage - Send a message to a single device
2. SendMessageToMultiple - Send a message to multiple devices
3. SendToTopic - Send a message to topic
4. SubscribeTopic - Subscribe to a topic
5. UnsubscribeTopic - Unsubscribe to a topic
This library uses FirebaseExtension libray from forge.
Client tokens are not saved directly to the application. Developer needs to write logic when receiving a client token in the GetToken event and save it some where for future use.
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)