How can get channel unread counting when app comes from background in React Native?

How can get channel unread counting when the app comes from the background state in React Native?