...
- With FCM users can register and unregister to a topic.
- For our requirement, we can have users by default registered to one topic which can be called as “General”
- And also there can be other topics which users can register based on their needs.
- With FCM we can send messages which can be displayable or non-displayable, which will depend on the flag the payload contains.
- Non-displayable payloads could be for the app side to enable/disable a feature for a particular group of users, could be used for A/B testing.
- Using FCM we can set TTL for a message.
- For the users in the offline state would receive the notification when they come online and won't receive if the TTL is expired.
Caveat:
- If the user registers after