Sync and Notifications

Suppose you’d build an app that uses a cloud-based syncing service to distribute notifications. Would you sync first, and then generate notifications?

Or would you do it the other way round, with the potential effect of generating obsolete notifications that would never show up if you synchronized first?

Yeah, me too.

But somehow I have reason to believe that this conclusion is not as obvious as it seems.