Add question types, nudge feature, and share modal

- Add new question card components (photo, audio, text, who-likely)
- Add share preview modal for matches
- Add nudge notification system with rate limiting
- Add session-based notification improvements
- Add match confetti celebration animation
- Update onboarding flow with paywall tracking
- Remove deprecated swipe card and tutorial components
- Update GlassCard/GlassInput to use solid backgrounds
- Fix routing issues after packs screen removal
This commit is contained in:
jjbrunton committed 2026-01-25 19:17:39 +00:00
1 parent 8612b16b93
commit 1daf386765
114 files changed
+14877 -7911

No files matched your search

+11 -2
View File
@@ -145,7 +145,7 @@ class RevenueCatService {
return result.current;
}
async getOfferingsDebug(): Promise<{
async getOfferingsDebug(offeringIdentifier?: string): Promise<{
current: PurchasesOffering | null;
availableOfferings: string[] | null;
error: string | null;
@@ -162,8 +162,17 @@ class RevenueCatService {
const offerings = await this.Purchases.getOfferings();
const availableOfferings = Object.keys(offerings.all || {});
// If a specific offering is requested, try to get it
let targetOffering = offerings.current;
if (offeringIdentifier && offerings.all?.[offeringIdentifier]) {
console.log(`RevenueCat: Using offering "${offeringIdentifier}"`);
targetOffering = offerings.all[offeringIdentifier];
} else if (offeringIdentifier) {
console.log(`RevenueCat: Offering "${offeringIdentifier}" not found, falling back to current`);
}
return {
current: offerings.current,
current: targetOffering,
availableOfferings,
error: null
};