Commit Graph

20 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
ef0cfbd2cf Bug: widget showing X when its not missing a rating
closed #129
2022-07-17 10:58:07 -05:00
Trey t
6fa4e2db26 change a bunch of shit to get importing / adding new vote have the right weekday 2022-04-05 22:33:12 -05:00
Trey t
f41b1866a6 create random icons and save to documents dir 2022-03-05 12:10:03 -06:00
Trey t
d56e74053e hopefully fix issue where voting is filled in with missing when its time to vote 2022-03-05 11:28:29 -06:00
Trey t
09e1e96a0a fix widget / icon view layout 2022-02-26 11:50:51 -06:00
Trey t
520119de85 can have / save multiple custom widgets 2022-02-22 22:59:08 -06:00
Trey t
83060e8353 closed #89 make custom widgets codable 2022-02-21 11:36:45 -06:00
Trey t
0035f61204 everything changed 2022-02-20 14:33:58 -06:00
Trey t
649180dbb5 WIP - custom widget icon 2022-02-13 22:15:53 -06:00
Trey t
3ece2c27a1 add large widget 2022-01-28 10:40:04 -06:00
Trey t
0109aee8f8 switch db between debug and release
on widgets if its before the voting time show yesterdays vote, if after either show no vote or current vote

user shared user defaults
2022-01-28 10:27:33 -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
af19d57a62 play with widgets
add different widgets for large icon and last day
made images smaller to avoid memory issues
2022-01-23 19:09:26 -06:00
Trey t
d68db75f87 closed #27 2022-01-19 09:54:52 -06:00
Trey t
7c2de764b4 work around widgets ... not sure if they work 2022-01-15 18:05:48 -06:00
Trey t
64dd1855ac WIP - a lot of uncommitted work 2022-01-15 12:03:31 -06:00
Trey t
80690e4a8c try to get widget working, but no ... 2022-01-10 15:27:34 -06:00
Trey t
056d7e8097 fix warning 2022-01-10 09:06:43 -06:00
Trey t
58697bf965 init commit - bring project over from Mood 2022-01-10 09:04:38 -06:00