DID Wallet Apps Delay in Receiving Notifications from ArcBlock Community

In DID Wallet Apps, notifications from the ArcBlock Community are delayed. Users do not receive real-time updates for activities such as mentions, replies, or system alerts. Notifications arrive after a significant delay, reducing usability and engagement.
Steps to Reproduce:
- Log in to DID Wallet App with an account linked to ArcBlock Community.
- Trigger an activity in ArcBlock Community (e.g., post reply, mention a user, system update).
- Wait for a notification in DID Wallet App.
- Observe the delay before the notification is received.
Expected Result:
- Notifications should be received in real-time or near real-time in DID Wallet Apps.
Actual Result:
- Notifications are received only after a long delay.
Bug Description: The notification delivery pipeline between ArcBlock Community → DID Wallet Apps is not functioning optimally. Possible causes:
- Server push notification delays.
- Improper WebSocket or API polling intervals.
- Backend queue processing lag.
- App not refreshing notification state promptly.
Severity Classification:
- Severity Level: 🟠 Medium-High (user experience issue, not security-critical but affects engagement).
Suggested Fix:
- Optimize backend notification push service.
- Ensure WebSockets or FCM/APNs deliver notifications in real-time.
- Reduce polling intervals or implement event-driven push.
- Add monitoring for latency in notification delivery.
Priority: ⚠️ High – Important for user engagement and community responsiveness.