Telegram-iOS icon indicating copy to clipboard operation
Telegram-iOS copied to clipboard

App icon badge unexpectedly appears when closing app

Open xezrunner opened this issue 1 year ago • 10 comments

Checklist

  • [x] I am reporting an issue in existing functionality that does not work as intended
  • [x] I've searched for existing GitHub issues

Description

When closing the app with no unread messages, a badge sometimes appears on the app icon when it shouldn't.

Opening and closing the app often fixes it, but the behavior is very random.

This may be related to the iOS 18 Beta.

Expected Behavior

The badge should reflect non-muted, unread items

Actual Behavior

App icon badge is inconsistently glitching out on app exit

Steps to Reproduce

  1. Open Telegram
  2. Close Telegram
  3. Observe badge
  4. Repeat

Screenshots and Videos

https://github.com/user-attachments/assets/a9dc4241-5b81-456a-a9a4-c543fb287d80

Environment

Device: iPhone 14 Pro Max

iOS version: 18.0 Beta 4 (22A5316j), iOS 18.0 Beta 6 (22A5338b), iOS 18.0 Beta 8 (22A5350a)

App version: 10.14.2 (29212), 11.0 (29502), 11.0.2 (29522)

xezrunner avatar Jul 24 '24 03:07 xezrunner

Confirm bug iOS 18 Developer Preview 4 (22A5316k) Telegram 10.14.2

Thazzr avatar Jul 28 '24 11:07 Thazzr

Can confirm.

iamfromreallife avatar Aug 06 '24 10:08 iamfromreallife

Still happening on ios 18 Beta 6.

iamfromreallife avatar Aug 13 '24 00:08 iamfromreallife

This is still not resolved. IOS 18 is just around the corner.

iamfromreallife avatar Aug 29 '24 12:08 iamfromreallife

I can also confirm that this is still an issue in iOS 18.0 Beta 8 (22A5350a)

I haven't seen any reports of this happening in other apps. The Feedback app entry I filed for Telegram specifically shows that there are More than 10 similar reports, so users are reporting this with Telegram specifically.

xezrunner avatar Aug 29 '24 16:08 xezrunner

Bug

man4women avatar Aug 30 '24 00:08 man4women

still an issue

The Feedback report I made in the Feedback app has had its Resolution status change to "Potential fix identified - For a future OS update".

This might be an OS-side issue after all and could get fixed in an iOS update.

Leaving this open, as it's still something Telegram for iOS developers should look into.

image

xezrunner avatar Sep 05 '24 00:09 xezrunner

IOS 18 rc was released today and still this issue persists. Only happens with telegram but as per the screenshot above, could be apple's to fix.

iamfromreallife avatar Sep 09 '24 20:09 iamfromreallife

IOS 18 rc was released today and still this issue persists. Only happens with telegram but as per the screenshot above, could be apple's to fix.

I saw somebody mention that this is also happening with TikTok in some scenarios, so that suggests it is more of an iOS-side issue.

I doubt Apple is going to issue another build instead of the RC for release, so perhaps this is to be fixed in an upcoming minor update, or 18.1 in October.

xezrunner avatar Sep 11 '24 13:09 xezrunner

This issue still exists on iOS 18 and Telegram 11.1.1

Dantasstic avatar Sep 20 '24 02:09 Dantasstic

It appears to have been fixed with iOS 18.1 Beta 4.

xezrunner avatar Sep 20 '24 10:09 xezrunner

Does that means that it wasn't a Telegram bug but actually an iOS18 bug? It seems to be fixed for me as well on latest 18.1 beta.

LinuxRenaissance avatar Sep 24 '24 05:09 LinuxRenaissance

Does that means that it wasn't a Telegram bug but actually an iOS18 bug? It seems to be fixed for me as well on latest 18.1 beta.

Yes, that appears to have been the case, as some people also reported this with TikTok.

Closing this, as it is fixed from the iOS side.

xezrunner avatar Sep 24 '24 09:09 xezrunner

Yes, that appears to have been the case, as some people also reported this with TikTok.

Closing this, as it is fixed from the iOS side.

Err, how come it doesn't happen with Spark, Signal, Discord, Skype, or other apps that have message notification badge counters if this is an "iOS issue" only? How have those devs worked around it? Also, if it can be worked around, why can't the Telegram devs do the same?

Dantasstic avatar Sep 24 '24 10:09 Dantasstic

Fixed in 18.1 beta 5. It really was an IOS issue.

iamfromreallife avatar Sep 24 '24 10:09 iamfromreallife

Fixed in 18.1 beta 5. It really was an IOS issue.

...No, it was an iOS 18 and Telegram issue.

It is not an iOS 18 and Signal issue, or iOS 18 and Discord issue. But sure, let's just "hand wave away" those other messenger apps without issues in iOS 18 🙄

To add to that, lots of us don't run iOS Beta builds, so we all gonna be stuck with this issue until the end of October when 18.1 drops RC? Nah fam, that ain't it. 👋

Dantasstic avatar Sep 24 '24 11:09 Dantasstic

Err, how come it doesn't happen with Spark, Signal, Discord, Skype, or other apps that have message notification badge counters if this is an "iOS issue" only?

To me, it seems like a handful of apps (Telegram and TikTok are the ones I'm aware of) handle the badge APIs a bit differently to most apps that were unaffected by this. That is what was broken in 18.0.

To add to that, lots of us don't run iOS Beta builds, so we all gonna be stuck with this issue until the end of October when 18.1 drops RC? Nah fam, that ain't it. 👋

Apple acknowledged this bug on their side, as the issue was reported in their Feedback Assistant specifically with Telegram and received a change of status (see above):

Potential fix identified - For a future OS update

Now we know that the future OS update is definitely 18.1, but it doesn't rule out that an earlier 18.0.1 could also fix it.

Historically, it doesn't seem like the iOS Telegram app developers fix/comment on issues within this repository, nor on their official bug tracker, so the more likely scenario for a fix is with an iOS update.

xezrunner avatar Sep 24 '24 14:09 xezrunner

Can confirm. The bug is fixed in iOS 18.1 Beta 5.

Purgepyro avatar Sep 25 '24 19:09 Purgepyro