Definition :
A Notification is a message that pops up on a user's device. Notifications can be triggered locally by an application, or the can be sent/pushed from a server to the user.
- How to push notification work?
1. An app implements push notification and the users confirm that he wishes to receive these notification 👉 swipe for an explaining diagram
2. the user receives a device token, which is generated for example by the Firebase Cloud Messaging server. the device token works as the address that the push notification will be sent to.
3. the server where the backend of the app is running on sends a push notification request to the firebase Cloud Messaging (FCM) server
4. The FCM then sends the push notification to the user's device
on the Firebase websites, you can find information on how to implement push notifications I wanted to share some code as well, but I couldn't make it work yet Maybe I can share some at another time :)
Reference :
0 comments:
Post a Comment