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.
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.