Have you used any good pub/sub library you can recommend?
I will also explain my problem, maybe there is a better way to tackle this w/o actually using or implementing a pub/sub.
When the user logs in the first time in my app, there is content the app needs to download that is important but not crucial to the app.
Since the app can run w/o this content, I decided to download this asynchronously and don't make the user wait.
Since this content is required for all the apps, regardless the platform, then it is happening in the shared code I'm using for authentication.
By the time this content is downloaded, the user will be in a different controller/screen so I need to be able to broadcast a message from this authentication shared code to the app, letting the active screen know the content is there to display.
How would you handle this?