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
refactor(app,core): 알림 발생 식별자를 occurrenceToken 이 아니라 occurrenceId 로 부른다 #1575
알림 하나의 «발생» 을 구분하는 식별자를 코드가 occurrenceToken 이라 부른다. 토큰이 아니다 — FCM messageId 이거나(FcmNotificationIdentity.occurrenceToken), 로컬 일일 알림에서는 UUID.randomUUID()(DailyNotificationWorker)다. 비밀도 아니고 인증에도 쓰이지 않으며, 하는 일은 (tag, id) identity 를 발생마다 구분하는 것뿐이다.
푸시 대상 식별자에서 고친 것(#1570)과 같은 종류의 어긋남인데 개념이 달라 따로 낸다.
완료 조건
occurrenceToken 식별자(파라미터·프로퍼티·함수명·지역변수)가 occurrenceId 가 된다. 범위는 app(messaging·notification)과 core:common(NotificationPendingIntentFactory·DailyNotificationWorker).
Intent extra 키는 이름도 값도 그대로 둔다 — EXTRA_NOTIFICATION_OCCURRENCE_TOKEN = "com.afternote.notification.OCCURRENCE_TOKEN". 앱 업데이트 전에 게시된 알림의 PendingIntent 가 옛 키를 달고 있어서, 값을 바꾸면 그 알림을 탭했을 때 진입 정보를 못 읽는다. 상수 이름은 그 키를 그대로 가리키는 것이므로 값과 어긋나게 두지 않는다.
Activity
github-actions commentedon Aug 30, 2026
이 이슈를 맡은 PR 은 #1576 다 (base
fix/1493-push-token-registration).base 가 기본 브랜치(
develop)가 아니라서 GitHub 은 이 이슈의 Development 칸에아무것도 표시하지 않는다. 본문에
Closes #N이 있어도 마찬가지다 — 그 링크는 기본 브랜치를target 하는 PR 에서만 만들어진다.
PR 이 닫히거나 머지되면 이 이슈의
pr-open라벨은 다음 리컨사일에서 떨어진다.refactor(app,core): 알림 발생 식별자를 occurrenceId 로 부른다 (#1575)
fix(test): 알림 진입 androidTest 를 API 34 에서 통과하게 고친다 (#1575)
test(app): 콜드 스타트 알림 테스트도 API 34 BAL 을 넘게 한다 (#1592)