Killed state and badge count

I have enterprise level application that has dashboard with company news updated, and shows the badge count for unread news on it, How I can configure my app to show the badge count in suspended and killed state, I have local DB on device which keeps info of unread count, so with each new news (that comes thru push) need to update the badge count , so that application can draw user attenstion .


Note - We want to increment badge count in killed state, I know AP news increases badge count in killed state also , But not sure how it is doing it .

If you want to update the badge count after the app is killed, you would need to push the updated badge count in the push notificaiton payload. There isn't a device-side way to silently launch the app from a notification, and perform a calculation, after the user has killed it.

HI,

Thanks for Answer , but there are some special previledges in the application like whats app,AP news and other they are using the badge count in killed state and I am sure they must be calculating it locally not coming from server.


There are VOIP enabled application , AUDIO enable application and along with that NEWS Stand applications also.


My app does not have voip but it has internal news feature , so can it use news stand previledge to wakeup the app from killed state and calculate the badge count.

Had you provided more information about your app in your original question, you would have gotten a different answer.

Application is enterprise level application where tenant can register and can start conversation by Company post(news) , chat and employees can update their current status also so that other can get information about their availability.


As there is chat and user might have killed the application we want to show badge count for chat message and company news.

So my question is with the news stand feature of background mode can we silently wakeup the application from killed sttae and calculate the badge count and show it.

The update from server for message and company news comes in form of Push but with push due to requirement that badge count shpuld work for device, we can not add the badge count in the payload ,


So dolet me know what the best can be done , I know some app like AP news Whats app(that when does not had voip calling also uses badge count) , how it does that.

@Asha Was there any response received to this question ? I have a similar use case to handle in my app.
Killed state and badge count
 
 
Q