chahinebrini
38df6fc79d
feat(chat): push notifications for DMs + rooms
Backend:
- Prisma PushToken model + chat_push_enabled flag on profiles
- Migration 20260530_add_push_tokens (push_tokens table + profile flag)
- Service sendChatPush with expo-server-sdk (auto-disable invalid tokens)
- Fire-and-forget push trigger in sendDirectMessage + createRoomMessage
- API POST /users/me/push-token (upsert) + DELETE (soft-disable)
Client (rebreak-native):
- usePushTokenRegistration hook: permission, getExpoPushTokenAsync,
Android channel 'chat', POST to backend; idempotent per session
- Notification tap deep-link: dm -> /dm?userId, room -> /room?roomId
Deploy:
- run_quiet spinner for silent altool/xcodebuild/gradle phases
- Release-notes pipeline (--notes flag / NEXT_RELEASE.md / interactive)
archived to CHANGELOG.md, printed with ASC + Play Console links
- Default version bump ON (--no-bump opt-out), build cleanup
- NEXT_RELEASE.md with push-notification release note
2026-05-30 08:16:45 +02:00
..
2026-05-21 21:54:11 +02:00
2026-05-15 21:48:54 +02:00
2026-05-15 21:48:54 +02:00
2026-05-22 21:13:11 +02:00
2026-05-22 20:07:36 +02:00
2026-05-15 21:48:54 +02:00
2026-05-21 18:09:42 +02:00
2026-05-10 23:59:25 +02:00
2026-05-18 08:06:47 +02:00
2026-05-21 18:09:42 +02:00
2026-05-11 05:15:29 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-16 05:26:52 +02:00
2026-05-14 00:53:08 +02:00
2026-05-13 23:23:45 +02:00
2026-05-13 19:06:01 +02:00
2026-05-18 08:06:47 +02:00
2026-05-21 18:09:42 +02:00
2026-05-13 16:35:18 +02:00
2026-05-15 22:41:25 +02:00
2026-05-21 16:07:44 +02:00
2026-05-30 08:16:45 +02:00
2026-05-10 23:59:25 +02:00
2026-05-11 15:18:59 +02:00
2026-05-22 20:52:20 +02:00