앱 브리지 메소드명 변경: updateMessageCount -> updateAlarmCount

- updateMessageCount를 updateAlarmCount로 변경
- BridgeMessageType.UPDATE_MESSAGE_COUNT를 UPDATE_ALARM_COUNT로 변경
- header에서 알림 카운트 조회 시 네이티브 앱에 카운트 업데이트 적용

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-10-28 19:25:22 +09:00
parent fb65ace1a0
commit cf428c7466
4 changed files with 16 additions and 9 deletions

View File

@@ -190,9 +190,9 @@ class AppBridge {
return this.sendMessage(BridgeMessageType.GET_LANGUAGE);
}
// 메시지 카운트 업데이트
async updateMessageCount(count: number): Promise<void> {
return this.sendMessage(BridgeMessageType.UPDATE_MESSAGE_COUNT, { count });
// 알림 카운트 업데이트
async updateAlarmCount(count: number): Promise<void> {
return this.sendMessage(BridgeMessageType.UPDATE_ALARM_COUNT, { count });
}
// 푸시 알림 권한 확인