Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
sbiewald351877dYou can have two parallel communication channels:
- The actual communication with your server. Do what ever you want.
- Push/poll to get new messages.
FCM can do the latter: Either directly notify the user ("here is the message") or notify the app ("there is a message, please wake up and process it").
In both cases, the message sender uploads it to your application's server, which notifies FCM which notifies the Play Services on the user's device which notifies the app (or you let the Play Services directly display the notification if privacy isn't important).