Add checkAlarmLink feature to handle alarm links on first access

- Add CHECK_ALARM_LINK to BridgeMessageType enum
- Implement checkAlarmLink method in appBridge class
- Add checkAlarmLink to useAppBridge hook
- Call checkAlarmLink on HomePage when firstAccess is true
- Clean up unused imports and minor code formatting

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-11-05 14:28:16 +09:00
parent a61f0bc2ff
commit 24c45731dc
4 changed files with 37 additions and 18 deletions

View File

@@ -225,6 +225,11 @@ class AppBridge {
return this.sendMessage(BridgeMessageType.SET_NOTIFICATION_SETTING, { enabled });
}
// 알림 링크 확인
async checkAlarmLink(): Promise<void> {
return this.sendMessage(BridgeMessageType.CHECK_ALARM_LINK);
}
// 네이티브 환경 체크
isNativeEnvironment(): boolean {
return !!(