Commit Graph

31 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
e7efd1ab25 update
add missing strings
add height back to purchase view button on year and month
2023-01-05 13:48:21 -06:00
Trey t
e7e9367896 add in why subscribe text 2022-12-27 15:27:16 -06:00
Trey t
adc1eadb49 UI stuff 2022-12-23 12:17:55 -06:00
Trey t
2c8772f79a iap work 2022-12-23 11:20:33 -06:00
Trey t
488832b777 WIP 2022-12-23 09:43:48 -06:00
Trey t
49e3812659 iap warning view 2022-12-21 10:19:03 -06:00
Trey t
53334e5fb8 IAP 2022-07-18 20:14:48 -05:00
Trey t
bd238e5743 iap - wip 2022-07-17 10:26:00 -05:00
Trey t
7712f70f03 add count to month view header
clean up spacing on day view
2022-04-14 22:55:33 -05:00
Trey t
26fffc1b74 update strings
update empty views
take out headers on customize views
make refresh on sample row go through moods great->horrible
other small UI changes
2022-04-11 23:05:59 -04: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
dec8f2d84d bunch of random work 2022-04-03 20:20:12 -05:00
Trey t
682f62fa4a separate all customize views into their own files
make corner radius a constant
create the views in the main app file and pass through so they dont get re-drawn when changing UI things
2022-04-02 10:53:04 -05:00
Trey t
bdd0b0ce59 filtering days in customize will filter views 2022-03-31 14:45:08 -05:00
Trey t
80d92e8d28 take share out of month view b/c user can screenshot and crop 2022-03-29 22:08:50 -05:00
Trey t
2ee0e348dc closed #122 UI issue on month view 2022-03-28 09:52:12 -05:00
Trey t
c1143d42ed update empty view screens 2022-03-24 11:17:37 -05:00
Trey t
90574ea6ad if no custom text color use defaults 2022-03-23 15:14:07 -05:00
Trey t
e226437e50 spacing on shapes and text 2022-03-20 14:43:25 -05:00
Trey t
36a688084c add shape picker for backgrounds 2022-03-20 02:45:51 -05:00
Trey t
f87d216e65 make all sheets on the main body
fix crash when backgrounding the app
2022-03-17 14:57:32 -05:00
Trey t
ec58aae65b fix placement of share button on month detail view
fix color of share button
move default icons into their own folder adding missing
2022-03-17 11:01:50 -05:00
Trey t
1257a6342e add sharing to month view 2022-03-15 14:57:21 -05:00
Trey t
f3542117a7 add logging 2022-03-13 20:06:26 -05:00
Trey t
7692f455c8 customize text color 2022-03-06 11:25:05 -06:00
Trey t
c83697cfb2 fix weird stuttering bug with month view 2022-03-03 09:59:16 -06:00
Trey t
746337b6a2 update top header graph view when custom color changes
code cleanup
2022-03-02 17:25:06 -06:00
Trey t
2590a77bff custom mood tint 2022-03-02 11:22:20 -06:00
Trey t
1defa1dc59 padding to month view top 2022-02-27 15:39:23 -06:00
Trey t
fca4b3cb02 rename HomeViewTwo to MonthView 2022-02-27 15:37:23 -06:00