FCM - sending notification over passing objext

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

Hi,
I use FCM for updating android based application when a new post (record) has been created. sometimes by notify the client to call the relevant API and sometimes i send the whole object using FCM.
My question is regarding the best practices, which approach is better/proffered?
1. Send "tiny" notification and force the client get the updated data by calling my API.
2. Send the whole object through FCM and avoid another calling to API by client.
Note the my objects are not extremely big.
Thanks.
 

Trending Posts

Forum statistics

Threads
956,248
Messages
6,967,213
Members
3,163,494
Latest member
collingsmwale8