You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1] [서버 연동] 1.0.2(10/24) 이후 FCM 기기 등록(POST /v1/devices)이 서버에 한 건도 오지 않아 푸시가 가지 않는다 #655
Activity
selee1012 commentedon Oct 31, 2026
원인 범위를 좁히는 추가 근거 (10/31)
알림함 레드닷이 안 꺼지는 문제를 조사하다가, 같은 날 끊긴 API 를 하나 더 찾았습니다. 별도 이슈 #656 로 올렸습니다.
POST /v1/devices(이 이슈)BaseResponse<EmptyData>PUT /v1/notifications/readResponse<BaseResponse<EmptyData>>PATCH /v1/users/me/notification-settingsBaseResponse<NotificationSettingsUpdateResponse>EmptyData입니다. Firebase 쪽 문제가 아니라 이게 원인일 수 있습니다.EmptyData는 앱 코드 어디서도 객체를 만들지 않는@Serializable class라 R8 이 serializer 를 지웠을 가능성이 있습니다. 그러면 Retrofit 이 요청을 보내기 전에 응답 컨버터를 만들다가 실패합니다.[Push] FCM 토큰 조회/등록 실패의 예외가Serializer for class 'EmptyData' is not found류인지 먼저 확인해 주세요. 맞으면 두 이슈를 같은 수정으로 닫을 수 있습니다.selee1012 commentedon Nov 4, 2026
11/04 현황: 아직 해결되지 않았고, 인증 실패 푸시도 같은 원인으로 거의 가지 않습니다
인증 실패 푸시 448건 중 13건만 발송된 건을 조사했습니다. 원인은 이 이슈와 같습니다.
prod 로그 (11/04 기준)
POST /api/v1/devicesPUT /api/v1/notifications/read(#656)SUCCESS130건NO_DEVICE(인증 관련)UNREGISTERED1건NO_DEVICE로 잡힙니다앱 코드 (develop 기준)
app/proguard-rules.pro는 아직 카카오·Gson 규칙뿐입니다.EmptyData·Firebase 관련 keep 규칙이 없습니다.BaseResponse<EmptyData>를 쓰는 API는 아래와 같습니다. 같은 수정으로 함께 고쳐질 것으로 봅니다.POST v1/devices,DELETE v1/devices(PushApi)POST v1/auth/logout(AuthApi)PUT v1/notifications/read,PUT·DELETE v1/users/me/notification-settings/mutes/{challengeId}(NotificationApi)DELETE v1/users/me/blocks/users/{id},DELETE v1/users/me/blocks/challenges/{id}(ReportApi)빠른 원인 확정 방법
Crashlytics non-fatal 에서
[Push] FCM 토큰 조회/등록 실패의 예외 메시지를 확인해 주세요. release 빌드를 다시 만들지 않아도 어느 쪽인지 바로 갈립니다.EmptyData를 지운 것 → keep 규칙 추가, 또는 응답 타입을Unit/Response<Unit>으로 변경getToken실패: Firebase 설정 쪽 문제고친 버전이 나가면 강제 업데이트 기준을 올려서 기존 1.0.2 사용자의 토큰을 다시 등록받겠습니다. 서버 쪽에는 바꿀 것이 없습니다.