Commit Graph

8 Commits

Author SHA1 Message Date
Trey t
f2c510de50 Refactor StoreKit 2 subscription system and add interactive vote widget
## StoreKit 2 Refactor
- Rewrote IAPManager with clean enum-based state model (SubscriptionState)
- Added native SubscriptionStoreView for iOS 17+ purchase UI
- Subscription status now checked on every app launch
- Synced subscription status to UserDefaults for widget access
- Simplified PurchaseButtonView and IAPWarningView
- Removed unused StatusInfoView

## Interactive Vote Widget
- New FeelsVoteWidget with App Intents for mood voting
- Subscribers can vote directly from widget, shows stats after voting
- Non-subscribers see "Tap to subscribe" which opens subscription store
- Added feels:// URL scheme for deep linking

## Firebase Removal
- Commented out Firebase imports and initialization
- EventLogger now prints to console in DEBUG mode only

## Other Changes
- Added fallback for Core Data when App Group unavailable
- Added new localization strings for subscription UI
- Updated entitlements and Info.plist

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 23:07:16 -06:00
Trey t
e85e6be7c0 update to 88oakapps 2022-03-23 15:08:47 -05:00
Trey t
ab61434af9 fix code signing 2022-02-28 23:05:54 -06:00
Trey t
ec55a2677e add dev app group 2022-02-27 15:11:59 -06:00
Trey t
70f29199bb create app group to share database
fix widget layouts / calls
i think widgets work
2022-01-26 17:11:41 -06:00
Trey t
94bfe29022 update widget to correct cloudkit id 2022-01-23 17:29:03 -06:00
Trey t
80690e4a8c try to get widget working, but no ... 2022-01-10 15:27:34 -06:00
Trey t
58697bf965 init commit - bring project over from Mood 2022-01-10 09:04:38 -06:00