Hi,
i have set a notification badge for internal messaging in my app between two users. The badge count is displaying on the initial stage. But once I clicked the icon of the app the count get cleared. I want to clear the app only after I read the message inside the application. My requirement is to show the badge count every time one got a message even if the user is not inside the application. Also need to decrease the count on reading each message. Currently I wrote the code to set the badge count in app->components.ts using api for updated value. I have no idea about how to update the badge count in background of app, means when user is not inside the app. Please help me its urgent.
Thanks and regards
Divya