Closed GD-PeaceMinusone closed 3 years ago
One caveat: In the middle of this, no other code is executed, and you can just get the unreadCount when from the background back to the foreground
Hi @GD-PeaceMinusone ,
You can use the same logic as the sampleApp to get the unread count (see updateUnreadCount
function).
Regard,
As the title says, but I put the app in the background, and when I go back to the foreground, it's immediately can be obtained in this method : applicationWillEnterForeground, Please help me with this question, thank you !