# No App badge update

**URL:** https://forums.rocket.chat/t/no-app-badge-update/14725
**Category:** Mobile Apps
**Tags:** mobile
**Created:** [August 18, 2022, 10:50am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725 "2022-08-18T10:50:47Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [August 18, 2022, 10:50am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/1 "2022-08-18T10:50:47Z")

</div>

I no longer get any unread messages badge updates on iOS, anyone else experience this? Running agains a 4.8.2 server.

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [August 22, 2022, 8:24pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/2 "2022-08-22T20:24:45Z")

</div>

Hi!

Have you seen this [Github Issue?](https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/4299) We need help to figure out this issues, as we can’t reproduce it consistently.

Let me know if you can help us here so I can put you in touch with our dev team.

Thanks!

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [August 23, 2022, 7:24am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/3 "2022-08-23T07:24:28Z")

</div>

tbh, no, I didn’t see that. But I have several iOS users, and I’d be happy to assist in any way I can.  
(As a “bonus”, maybe we could get [this](https://github.com/RocketChat/Rocket.Chat/issues/26660) fixed as well? 😉 )

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [August 23, 2022, 12:10pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/4 "2022-08-23T12:10:41Z")

</div>

Oh! That’s a nice catch!  
Thanks for pointing out!

Can we reproduce this notification issue on a new, clean, docker environment, with the same versions you are using?

After that, can we check if in latest version it is already fixed?

Also, we need to consider this workflow to understand when a notification is sent:

> **[Configuring Push Notifications](https://developer.rocket.chat/mobile-app/mobile-app-white-labelling/configuring-push-notifications#notification-workflow)**

One cause of weird issues and behaviors I have seen is wrong SSL configuration. Can you check both **open.rocket.chat** and your public domain in one of those Online SSL Check site and see if there is a difference?

Is your instance on a Cloud Service or on premisses?

That’s a lot to ask, I know, but the cause of those edge cases are usually in tiny details.

Thanks!

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [August 23, 2022, 1:28pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/5 "2022-08-23T13:28:40Z")

</div>

Certificate validates fine, same with open.rocket.chat.

My instance is on-premise, running docker-compose on a Photon4 OS. It’s behind a Ngnix proxy:  
Upgrade $http\_upgrade  
Connection @connection\_upgrade  
Host $http\_host  
X-Real-IP $remote addr  
X-forwarded-For $proxy\_add\_x\_forwarded\_for  
X-Forwarded-Proto https  
X-Ngnix-Proxy true

I don’t know if it’s related, but we often hit the 10.000 notification celing (Have a meeting with your sales team tomorrow 😉 ). My assumption would be that unread messages, still would show on the badge.

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [August 23, 2022, 6:24pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/6 "2022-08-23T18:24:06Z")

</div>

Oh…

Probably not. Don’t quote me on this, but I believe the mobile will show all unread notifications, so if non are received, it will not show them.

We had, for example, situations where a hidden room had unread messages, so the badge was getting stuck there.

However, if you receive the notification, it should be shown in the badges.

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [August 24, 2022, 6:10am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/7 "2022-08-24T06:10:38Z")

</div>

From a user perspective I would expect the badge to reflect all unread message, alerted by notification or not. Does not make sense that the user have to get notificed, to be able to see how many messages they haven’t read 🙂. But I have no clue if the badge-update is reliant on the notification mechanism on RC or not. I don’t see that dependency in other apps like Telegram, Signal, Slack ect.

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [August 24, 2022, 1:16pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/8 "2022-08-24T13:16:07Z")

</div>

Ok, some more info into this.

The mobile will only show the notifications, so all the logic comes from back end, according to that notification workflow.

Can you reproduce this on our open server?  
Is this consistent with all your users?  
Could you hand us a test user in your server?

Thanks!

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [August 28, 2022, 7:15pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/9 "2022-08-28T19:15:47Z")

</div>

Sorry for the late response. I’ll send you a PM with server + login details  
Seems like no iOS user gets badges updated.

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [September 6, 2022, 7:34am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/10 "2022-09-06T07:34:17Z")

</div>

Strangely enough, badges are now working again without me changing anything 🤔

@dudanogueira Has anything in your end?

---

<div class="post-metadata">

### Author: ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)
#### Post date: [September 6, 2022, 8:44am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/11 "2022-09-06T08:44:22Z")

</div>

Not really.

I was about to address it this week 😕

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [September 6, 2022, 9:51am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/12 "2022-09-06T09:51:08Z")

</div>

Strange indeed. Everyrhing is still at the same versions as before. No config changes have been done in this end. That worries me a bit

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [September 7, 2022, 8:33am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/13 "2022-09-07T08:33:13Z")

</div>

Stopped working again 😲

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [September 9, 2022, 8:16pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/14 "2022-09-09T20:16:11Z")

</div>

Have now updated to 5.1.1, and there’s not badge updates at all any longer :(. How can we get to the bottom of this?

---

<div class="post-metadata">

### Author: ![ansiwen](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/ansiwen/32/4529_2.png) [@ansiwen](https://forums.rocket.chat/u/ansiwen)
#### Post date: [March 1, 2023, 12:34pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/15 "2023-03-01T12:34:53Z")

</div>

Same problem here. ☹  
(Self hosted server 5.4.3, iOS App 4.35.1.37441, using the push service from cloud.rocket.chat.)

---

<div class="post-metadata">

### Author: ![ansiwen](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/ansiwen/32/4529_2.png) [@ansiwen](https://forums.rocket.chat/u/ansiwen)
#### Post date: [March 1, 2023, 12:59pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/16 "2023-03-01T12:59:56Z")

</div>

After a quick research it appears to me, that the icon badge counter is set by local notifications, not with push notifications. So the App would wake up from the push notification and then set the badge counter accordingly with local notifications. Here is an article how to set that up with ReactNative: [Creating React Native badge components in iOS - LogRocket Blog](https://blog.logrocket.com/creating-react-native-badge-components-ios/)  
(I didn’t look at the code of the iOS App yet, so no idea if it maybe is already done that way.)

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [March 2, 2023, 8:11am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/17 "2023-03-02T08:11:01Z")

</div>

The thing is, that it works sometime but very seldom. My users are getting tired of lack of notifications and loss of badge updates, so I probably need to find an alternative ☹

---

<div class="post-metadata">

### Author: ![ansiwen](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/ansiwen/32/4529_2.png) [@ansiwen](https://forums.rocket.chat/u/ansiwen)
#### Post date: [March 16, 2023, 11:55pm UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/18 "2023-03-16T23:55:37Z")

</div>

have you checked the github issue above? there is a global setting for that.

---

<div class="post-metadata">

### Author: ![rocwee](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rocwee](https://forums.rocket.chat/u/rocwee)
#### Post date: [March 20, 2023, 7:50am UTC](https://forums.rocket.chat/t/no-app-badge-update/14725/19 "2023-03-20T07:50:11Z")

</div>

No, didn’t see that. I’ll test it out. Thanks for your help!
