Repository navigation
Conversation
createdAt 이 BaseTime 에 이미 있는데 SharedComment 가 같은 이름으로 다시 선언하고 있었다. 같은 컬럼(created_at)에 두 필드가 매핑되던 상태로, ddl-auto: update 라 드러나지 않았을 뿐 매핑 충돌 소지가 있었다. @EntityListeners(AuditingEntityListener.class) 도 함께 제거한다 — BaseTime 이 @MappedSuperclass 에 붙여둔 것이고 엔티티 리스너는 상속되므로 중복이었다. extends BaseTime 인 다른 엔티티들은 모두 재선언이 없어 SharedComment 만 예외였다. getCreatedAt() 의 유일한 사용처(SharedCommentResponse)와 builder 호출부 모두 영향 없다.
…roid refactor: SharedComment 의 BaseTime 중복 선언 제거
iOS 전용이던 발송을 Android 까지 연다. 발송 대상 필터를 걷어내고, 지금까지 없던
android 블록을 페이로드에 추가한다.
- DeviceTokenQueryService: platform = IOS 필터 제거. 한 회원이 iOS·Android 기기를
함께 쓸 수 있으므로 플랫폼을 가리지 않는다.
- FcmMessageMapper: android 블록 신규 작성. 설계 문서에는 "AndroidConfig 검증"으로
적혀 있었으나 실제로는 존재한 적이 없어 새로 만들었다.
- channel_id — Android 8+ 는 채널이 없으면 알림이 표시되지 않는다. 앱이 notifee 로
만드는 채널(nativePush.ts 의 ANDROID_CHANNEL_ID)과 어긋나면 에러 없이 누락되고
발송 로그는 SUCCESS 로 남아 원인 추적이 어렵다. 상수로 고정하고 테스트로 묶었다.
- priority: high — 기본값은 지연 전송될 수 있다.
- default_sound — 없으면 무음으로 도착한다.
apns 와 android 블록을 함께 실어 보내면 FCM 이 대상 토큰의 플랫폼에 맞는 쪽만 골라
쓰므로, 한 요청으로 양쪽을 커버한다.
…roid feat: 푸시 알림 Android 지원 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.