Daniil Klimov 44c759c190 fix: security hardening — Keychain, no hardcoded creds, safe URLs
- Add KeychainService for encrypted token storage (auth, refresh, health JWT, API key)
- Remove hardcoded email/password from HealthAPIService, store in Keychain
- Move all tokens from UserDefaults to Keychain
- API key sent via X-API-Key header instead of URL query parameter
- Replace force unwrap URL(string:)! with guard let + throws
- Fix force unwrap Calendar.date() in HealthKitService
- Mark HealthKitService @MainActor for thread-safe @Published
- Use withTaskGroup for parallel habit log fetching in TrackerView
- Check notification permission before scheduling reminders
- Add input validation (title max 200 chars)
- Add privacy policy and terms links in Settings
- Update CLAUDE.md with security section

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 14:11:10 +03:00

Pulse Health — iOS App

Health Dashboard для health.digital-home.site

Требования

  • macOS 14+, Xcode 15+, iPhone iOS 17+

Сборка

  1. Установить XcodeGen:

    brew install xcodegen
    
  2. Сгенерировать проект:

    xcodegen generate
    
  3. Открыть и запустить:

    open PulseHealth.xcodeproj
    
  4. Xcode → Signing & Capabilities → выбрать свой Team (Apple ID)

  5. Выбрать iPhone как устройство → Run (⌘R)

Credentials

Войди с email/паролем от health.digital-home.site

Description
No description provided
Readme 1.2 MiB
Languages
Swift 100%