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-25 07:11:47 +02:00
2026-05-20 04:49:11 +02:00
2026-05-13 21:04:14 +02:00
2026-05-17 23:59:56 +02:00
2026-05-20 04:20:22 +02:00
2026-05-20 04:49:11 +02:00
2026-05-30 08:16:45 +02:00
2026-05-22 19:35:51 +02:00
2026-05-16 00:37:32 +02:00
2026-05-22 20:33:34 +02:00
2026-05-11 15:43:10 +02:00
2026-05-13 16:15:54 +02:00
2026-05-11 15:43:10 +02:00
2026-05-20 04:49:11 +02:00
2026-05-17 15:44:32 +02:00
2026-05-11 15:43:10 +02:00