There are four possible causes for a message delay:
1. The network conditions are poor or you are far away from the server, for example, you are in a different country or region from the server.
2. The third-party vendor channel is used to push messages in China and FireBase Cloud Messaging (FCM) is used outside China. The time for transmitting a message from the server to your client depends on the load on the third-party server. During congested peak hours, message arrival may be delayed.
3. You are not an active user. Messages pushed to active users who use the app frequently have higher priority, with faster arrival and transmission rates (earlier arrival), than inactive users.
4. Your connection with the push server is abnormal. If your mobile phone is disconnected from the server, you cannot receive push messages. The disconnection can be detected only when the next heartbeat packet is sent, and the message arrival is delayed.