Add weather feature with WeatherKit integration for mood entries

Fetch and display weather data (temp, condition, hi/lo, humidity) when
users log a mood. Weather is stored as JSON on MoodEntryModel and shown
as a card in EntryDetailView. Premium-gated with location permission
prompt. Includes BGTask retry for failed fetches and full analytics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-11 00:16:26 -05:00
parent a1340b4deb
commit 31fb2a7fe2
15 changed files with 557 additions and 3 deletions

View File

@@ -5,7 +5,10 @@
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.88oakapps.reflect.dbUpdateMissing</string>
<string>com.88oakapps.reflect.weatherRetry</string>
</array>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Reflect uses your location to show weather details for your mood entries.</string>
<key>CFBundleURLTypes</key>
<array>
<dict>