Commit Graph

23 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
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
e85e6be7c0 update to 88oakapps 2022-03-23 15:08:47 -05:00
Trey t
b2519dcd2d cache entries to help with header stutter 2022-03-08 23:13:36 -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
39a974bdf4 add code to create darker custom colors 2022-03-02 16:28:45 -06:00
Trey t
fb333069f5 closed #98 2022-02-26 16:21:28 -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
1cf38cb854 wip 2022-02-18 18:58:38 -06:00
Trey t
b8e1198c5b spacing on custom icon widget
create color extension for random
widget 512x512 ... 1024x1024 didn't work
clean up Icon Widget View
2022-02-13 23:23:58 -06:00
Trey t
649180dbb5 WIP - custom widget icon 2022-02-13 22:15:53 -06:00
Trey t
b878d908c4 WIP - Sharing 2022-02-13 10:20:43 -06:00
Trey t
0e992ab4f5 Merge branch 'rls/16.0' into sharing 2022-02-11 20:13:04 -06:00
Trey t
ad196b08c5 code clean up 2022-02-10 23:30:19 -06:00
Trey t
36931229f7 Merge branch 'develop' into sharing 2022-02-10 11:54:42 -06:00
Trey t
92514a5e33 closed #79 2022-02-10 10:59:19 -06:00
Trey t
96f766c8c9 create all templates .... started to fill one out 2022-02-09 23:03:47 -06:00
Trey t
549bd167b8 closed #67 2022-02-04 17:00:06 -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
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
58697bf965 init commit - bring project over from Mood 2022-01-10 09:04:38 -06:00