Issues about message notification delays
by Poster
Apr 30, 2025
24
bark's notification can be almost real-time, but WeChat's notification occasionally delays.
Is this a problem with Apple, or a problem with WeChat?
Replies
-
Anonymous9929 Apr 30, 2025I'm confused, that is, sometimes I see the notification on the WeChat notification lock screen page, and then click in to see that it takes a while to load. Why is this?
-
Anonymous8369 Apr 30, 2025@ Anonymous9929 iOS? The notification is sent to you by the Apple server (of course, the WeChat server adjusts the API to call Apple to send it). When you open the WeChat App, you will receive the message after connecting to the WeChat server.
-
Anonymous13463 Apr 30, 2025WeChat, after the message is sent out, the backend needs to do some operations, and then it will be pushed through the Apple server.
-
Anonymous8369 Apr 30, 2025@ Anonymous9929 is probably: B sends a message to A, and the WeChat server finds that A is not online, so Apple is asked to send a notification to A's device. Apple can find A's device immediately, and device A will receive a notification message soon. But at this time, there is no such message in the database of the WeChat App of device A. Because the WeChat app is not in the foreground and there is no server connected to WeChat, it cannot send and receive messages. After you open the WeChat app, you will first connect to the WeChat server. There is a process for connecting. After the connection is completed, there is also a process for receiving messages, and then the messages are displayed in the app.
-
Anonymous1887 Apr 30, 2025WeChat is no longer feeling it. Until now, I will double push on WeChat. The key is to interval a few minutes
-
Anonymous8421 Apr 30, 2025I use Bark to push messages to mobile phones, pads, and mac. The same message is sometimes received by the three devices almost at the same time, sometimes with a difference of several minutes before and after, and sometimes some devices cannot receive the message. I don't know why
-
Anonymous2725 Apr 30, 2025Apple sometimes has fake WeChat notifications, and there is no new message after opening them
-
Anonymous8422 Apr 30, 2025@ Anonymous9929 This is where ios and android notification mechanisms differ. For domestic Android, someone else sends you a WeChat message. This message first arrives on your mobile phone, and then Android gets the corresponding content of the notification from the message and notifies you. You click on the notification, and the WeChat app will directly load the full text of the message you just got. For ios, when someone sends you a WeChat message, the WeChat server will first call the notification interface of ios and send the corresponding content of the notification to Apple. Apple will send you a push again. After you receive the push and click on WeChat, the WeChat app will connect to its own server to pull the full text of the message. So there will be a delay.
-
Anonymous9929 Apr 30, 2025@ Anonymous8369 # 2 OK thanks for the analysis, it's too bad for the user experience, one first and one later is better than both at the same time.
-
Anonymous9929 Apr 30, 2025@ Anonymous8422 # 8 I think Android is more reasonable. Even if the notification is delayed, there is no perception, but ios will let you see and click in first, and then you have to wait a while, especially for some messages that need to be replied. It's too mentality.
-
Anonymous2214 Apr 30, 2025@ Anonymous8422 Android is because there is a long link to WeChat in the background, which has nothing to do with notifications. iOS can also carry the full text of the message, and iOS also provides an API for you to execute the app's code before the notification is displayed, which can pull additional information from the server. So it's not because of the difference in notifications. The fundamental reason is whether the long link of WeChat has been established.
-
Anonymous67 Apr 30, 2025@ Anonymous8422 # 8 How does ios achieve a one-to-one correspondence between vx and mobile phone, that is, call the ios notification api, how does the notification api know who the object to be notified is
-
Anonymous8369 Apr 30, 2025@ Anonymous67 has a device token (DeviceToken). When WeChat calls the Apple notification API, give this token to Apple, and Apple can find the device. WeChat will obtain the token of this device when requesting notification permission.
-
Anonymous8369 Apr 30, 2025@ Anonymous2214 Haha, there will be this question on the 1st floor, so I may not know much about this piece, so I didn't say anything like socket or say that after establishing a long connection, both parties can find each other's news unimpeded. After WeChat enters the background for a period of time, sokect will disconnect and cannot continue to send and receive messages, so it can only rely on notifications. iOS can indeed carry a lot of information in the notification, and then get more or do more logic in the notification expansion, but WeChat doesn't seem to do it. As for the trade-off, it's unclear. The performance is that WeChat will not jump to the corresponding chat window after clicking on the notification, but simply open the app. Android seems to click on the notification to jump to the corresponding chat window.
-
Anonymous7336 Apr 30, 2025@ Anonymous9929 iOS is the formal operation. There is a unified push of google abroad, but the unified push alliance of android in China has not been established. Now android uses various background guarantees for notifications, but at present, push notifications have been made at the system level. If there are multiple mobile phone systems, you have to receive multiple ones, and some third parties will help you package them uniformly. However, as far as I know, WeChat is not connected, but each mobile phone system has been whitelisted and stuffed with mouse excrement.
-
Anonymous3136 Apr 30, 2025The same is true for Android. Often the computer replies, and the phone will not notify after a while
-
Anonymous448 Apr 30, 2025WeChat, this problem can be solved by manually refreshing the push. If yours is wechat, the delay is normal. The normal push delay of domestic WeChat should be within 5s
-
Anonymous8423 Apr 30, 2025It feels that there are problems with both parties. Let's see how the two companies solve this matter. Apple has given an "instant notification" solution for message delay. I don't know whether it works or not, but you can at least try it. But WeChat has not followed up. What can I do? It can only be said that WeChat doesn't pay attention to users.
-
Anonymous6804 Apr 30, 2025@ Anonymous8423 Instant notification, I haven't figured out this function yet, it doesn't matter whether it is turned on or not
-
Anonymous344 Apr 30, 2025@ Anonymous8422 Do you mean, can domestic Android be sent directly to the mobile phone without forwarding through the central server?