- Widgets can't access app's Keychain (different sandbox) - App writes data to shared UserDefaults (group.com.daniil.pulsehealth) - Widgets read from shared UserDefaults — no API calls needed - WidgetDataService: updates widget data + reloads timelines - DashboardView: pushes habits/tasks data to widget after load - HealthView: pushes health data to widget after load - App Group capability added to both app and widget entitlements - Widgets update every 15 minutes from cached data Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pulse Health — iOS App
Health Dashboard для health.digital-home.site
Требования
- macOS 14+, Xcode 15+, iPhone iOS 17+
Сборка
-
Установить XcodeGen:
brew install xcodegen -
Сгенерировать проект:
xcodegen generate -
Открыть и запустить:
open PulseHealth.xcodeproj -
Xcode → Signing & Capabilities → выбрать свой Team (Apple ID)
-
Выбрать iPhone как устройство → Run (⌘R)
Credentials
Войди с email/паролем от health.digital-home.site
Description
Languages
Swift
100%