Commit Graph

24 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
d3b21bd585 remove hardcoded mood images 2022-07-18 20:46:04 -05:00
Trey t
53334e5fb8 IAP 2022-07-18 20:14:48 -05:00
Trey t
627495336f put png back in b/c vector drawing was having issues 2022-03-31 15:19:39 -05:00
Trey t
9e4cfd2775 add filter days to cusomize page 2022-03-31 11:44:44 -05:00
Trey t
36a688084c add shape picker for backgrounds 2022-03-20 02:45:51 -05:00
Trey t
612483e7f0 popup for nsfw content 2022-03-10 11:29:47 -06:00
Trey t
7692f455c8 customize text color 2022-03-06 11:25:05 -06:00
Trey t
2590a77bff custom mood tint 2022-03-02 11:22:20 -06:00
Trey t
2e92d89faf add localized strings to custom widget view
edit save / use buttons for custom widget
2022-02-27 15:58:47 -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
107086b695 closed #83 2022-02-17 18:08:32 -06:00
Trey t
1e7199337f WIP - custom widget creator 2022-02-13 13:34:41 -06:00
Trey t
ee49a535bd fix issue with presisting how many days back the top header should be on re-launch 2022-02-11 20:08:11 -06:00
Trey t
014078c5fb remember what view and view type user was looking at 2022-02-10 23:19:03 -06:00
Trey t
a1f70edec2 closed #62
closed #60
2022-02-04 16:49:56 -06:00
Trey t
9afbfb2e8e closed #52
added logic to remember tabview but it doesnt work
2022-01-30 19:49:43 -06:00
Trey t
2aa59a084a build out enable delete option but cant use b/c list view is not a list
re-arrange the content view
2022-01-29 11:22:59 -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
8c58b37be5 add in cloudkit toggle 2022-01-26 12:08:40 -06:00
Trey t
dfe886a706 fix saved time vs header time voting
only show onboarding once
2022-01-22 14:06:33 -06:00
Trey t
01e54d9373 closed #38 2022-01-22 13:57:25 -06:00