TelegramMessenger / Telegram-iOS

Telegram-iOS
5.89k stars 1.57k forks source link

Notifcations are only “You have a new message” #833

Open Kamik423 opened 2 years ago

Kamik423 commented 2 years ago

Checklist

Description

Telegram censors notification text even though this feature is disabled. This started occurring a few days ago on my iPad. I did not touch any settings but all messages get censored now. The same is not true for my iPhone signed into the same account with the same settings.

Expected Behavior

The message content should be in the notification.

Actual Behavior

It just says “You have a new message”

Steps to Reproduce

This is not with due to the iOS notification preview censoring since that changes the message to “Message” instead of “You have a new message”. So the issue is due to Telegram internal settings. In Telegram itself the “Message Preview” switch is also enabled (I tried toggling it off and on) for all chats, groups, and channels.

This issue might be related to this bug report although for me this only started happening a few days ago — potentially with the release of the latest AppStore version of the app.

Screenshots

A12FD1A5-D29C-4F2F-9974-C8A0CD65995F 25122307-4713-45B8-8D0F-6B4AAC5E4666 7D079E07-DA73-451D-BF68-72296F61860F

Environment

Device: iPad 12.9 with FaceID first generation

iOS version: 16.1 beta

App version: 8.9.1

JhihPong commented 1 year ago

I have the same question too. Do you have any ideas to solve this problem?

Kamik423 commented 1 year ago

I am not an expert or a developer on this project, but to me this statement

https://github.com/TelegramMessenger/Telegram-iOS/blob/7d335e817a5a67214fa968075f108ba6aad03e37/Telegram/NotificationService/Sources/NotificationService.swift#L516-L520

looks the wrong way around. In my option the locked message should be set if the messages are empty – not un-empty.

neneone commented 7 months ago

Same problem here on a 2nd gen iPad Pro 11” running iOS 17.3

abumora commented 5 months ago

do you have a solution?

skiks commented 5 months ago

Same problem! Already 2 months! Empty notifications. its drain my battery so much! IMG_7354

Erik262 commented 3 months ago

Now, in 2024, this issue still persists.!!

farzadso commented 2 months ago

Yeah, still happening to me on all my devices.

Erik262 commented 2 months ago

Yeah, I feel the same way. I can't believe that we're the only ones dealing with this problem.

farzadso commented 2 months ago

I just reset my notification settings (such a pain to mute all those chats one by one again) and it seems to be fixed now.

Erik262 commented 2 months ago

I just reset my notification settings (such a pain to mute all those chats one by one again) and it seems to be fixed now.

Did you do this inside the app or in your phones settings?

farzadso commented 2 months ago

I just reset my notification settings (such a pain to mute all those chats one by one again) and it seems to be fixed now.

Did you do this inside the app or in your phones settings?

In my phone settings.

zanyar3 commented 2 months ago

same issue 2024 yet !

shayangha commented 2 months ago

I have the same problem too

shayangha commented 2 months ago

sometimes when I restart my phone fixed for me.

Erik262 commented 2 months ago

Yeah, same here. Sometimes the text is displayed, and sometimes it is not... No matter what, Telegram is prioritizing selling emojis instead of addressing bugs, even years before introducing any subscription "feature."

jjaychen1e commented 1 month ago

Same issue here. And these notifications drained my battery.

Kaiser-DMr commented 1 month ago

到现在为止还有这个错误

Yuisyuu commented 1 month ago

428

nyg commented 1 week ago

Same issue!