Commit Graph

292 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
akatreyt
c8248429dd Merge pull request #131 from akatreyt/jorgemendoza/spanish-translation
WIP: translation to spanish onboarding strings completed
2023-01-09 10:35:09 -06:00
Jorge Mendoza
04f73bc715 WIP: translation to spanish onboarding strings completed 2023-01-09 00:35:22 -06:00
Trey t
4274ab02d4 updates
fix spelling
update version
2023-01-06 19:33:26 -06:00
akatreyt
e4e224367c Merge pull request #130 from akatreyt/adamselby-strings
Update Localizable.strings
2023-01-05 13:49:03 -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
Adam Selby
7ca87d47ff Update Localizable.strings
Missing strings?

# How to Add Widget
# Nice
# Rude
2023-01-05 13:36:37 -06:00
Trey t
e7e9367896 add in why subscribe text 2022-12-27 15:27:16 -06:00
Trey t
384a57a4bd add eula and privacy buttons 2022-12-27 14:52:01 -06:00
Trey t
86c64c51c9 mess with fake data generator to be more happy 2022-12-24 10:51:03 -06:00
Trey t
d7ac7e9a57 add bg back to home screen 2022-12-23 13:25:03 -06:00
Trey t
adc1eadb49 UI stuff 2022-12-23 12:17:55 -06:00
Trey t
87865571c1 iap work 2022-12-23 11:51:22 -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
340798c141 update proj settings 2022-09-14 09:51:15 -05:00
Trey t
71c6897394 update images 2022-07-24 16:18:51 -05:00
Trey t
6d6f11b9dc update iap stuff 2022-07-24 15:56:06 -05: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
044e0bb027 Merge branch 'develop' into iap 2022-07-17 10:58:17 -05: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
bd238e5743 iap - wip 2022-07-17 10:26:00 -05:00
Trey t
6c239c5e26 MISC
added new icon
put notifications in strings files
started IAPManager
populate data goes to 1000 entires
take out fixweeday button
2022-07-07 18:13:36 -05:00
Trey t
d116d082eb fix missing images heights on month detail 2022-04-23 11:14:10 -05:00
Trey t
75b8db8c8e fix bug with text color and changing themes 2022-04-15 11:28:26 -05:00
Trey t
12b6a99db4 change text color to default them color 2022-04-14 22:58:45 -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
61a5f71a2e remove shrinking headers from day view
only show header on day view if its he voting header
2022-04-14 22:31:29 -05:00
Trey t
1cfb4c1b2e make reading tuple easier 2022-04-11 23:09:47 -04:00
Trey t
26fea28b26 add code comment 2022-04-11 23:07:24 -04: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
1e5b02858e updated charts 2022-04-08 09:47:28 -05:00
Trey t
6dc7732634 change the order of onboarding 2022-04-07 18:30:50 -05:00
Trey t
8fc887e390 xcode .. i hate xcode 2022-04-05 23:53:14 -05:00
Trey t
273c668ee9 Merge branch 'develop' 2022-04-05 23:48:39 -05:00
Trey t
34ceff39bc update packages 2022-04-05 23:48:32 -05:00
Trey t
9bf6190bab add customize onboarding views
make tab bar text color selected text color
2022-04-05 23:46:01 -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
dec8f2d84d bunch of random work 2022-04-03 20:20:12 -05:00
Trey t
9d008236bc take out random icon generator button 2022-04-02 11:15:42 -05:00
Trey t
ba8e0a5a0c Add gear in customize for for settings 2022-04-02 11:14:28 -05:00
Trey t
6cac4e2de0 add text to day picker 2022-04-02 11:06:26 -05:00
Trey t
291fb11bbb add haptic feedback when picking days 2022-04-02 11:02:33 -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
3d1b7abc64 each year view has a stats header 2022-03-31 15:39:08 -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
bdd0b0ce59 filtering days in customize will filter views 2022-03-31 14:45:08 -05:00
Trey t
9e4cfd2775 add filter days to cusomize page 2022-03-31 11:44:44 -05:00