mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-08-06 21:09:26 +00:00
Thread an optional MessageID through PushMessage -> the APNs apns-collapse-id header (capped at 64 bytes) and Expo's collapseId field (which Expo maps to FCM collapse_key / APNs apns-collapse-id). A superseded or duplicate push now collapses on-device instead of stacking. Empty MessageID preserves the prior behavior (each push distinct). No native FCM send provider exists, so the FCM collapse_key is covered via the Expo path.