-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Fix badge counter on iOS push notifications #6950
Conversation
What about multi server? If you set the count doesn't iOS take that number regardless? So if server a said |
multi-instances will be handled by client.. the app should store a counter by server and display the correct number.. @rafaelks is aware of it RocketChat/Rocket.Chat.iOS#460 :) |
@sampaiodiego ok just checking it was my understanding that if the app set it, and a push notification came in.. it would automatically take what the push notification told it. So if the iOS app had calculated 10 total and set it to 10. When a new push came in that said Just want to make sure so it doesn't cause any issues with crazy counts down the road. |
@geekgonecrazy nope.. like if the server also if the user clicks on server this is how I think it should work.. 😬 |
@sampaiodiego @geekgonecrazy The value of the Since we don't support multi-server right now on the client, I don't worry about it now. At some point, we'll need to change it (I think) to support the badge for multiple servers. I don't know yet what's the best solution for it, but we really don't need to worry about it right now. Note: I think I have a way to handle the notification and manipulate the badge, but I haven't tried yet. |
Since the solution looks better than what we have now I'll merge this |
@RocketChat/core
Closes #6356