Notifications & Push
End-to-end push pipeline: FCM token sync to backend (per-role), foreground-message local notification fallback, and an in-app notification list that merges customer + seller streams from /social/fcm-notifications.
Riverpod · Firebase Messaging · flutter_local_notifications · Medusa /social/fcm-notifications
diagram · Notifications & Push — Riverpod · Firebase Messaging · flutter_local_notifications · Medusa /social/fcm-notifications
4 layers 9 nodes 5 flows
01
LayerPresentation
UI · Controllers · Widgets
1 node
02
LayerDomain
Entities · Use Cases · Repository contracts
3 nodes
03
LayerData
Repo Impl · Remote / Local Data Sources
3 nodes
04
LayerDependency Injection
Routes · Bindings · Service Locator
2 nodes
cards are peers grouped by layer — pick a flow to trace real callsclick any node to drill in →