@umituz/react-native-settings 4.17.32 → 4.17.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-settings",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.33",
|
|
4
4
|
"description": "Complete settings hub for React Native apps - consolidated package with settings, about, legal, appearance, feedback, FAQs, and rating",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -173,12 +173,13 @@ export interface SubscriptionConfig {
|
|
|
173
173
|
settingsItem?: SubscriptionSettingsItemConfig;
|
|
174
174
|
/** Detail section configuration (for detail screen) */
|
|
175
175
|
sectionConfig?: {
|
|
176
|
-
statusType: "active" | "expired" | "none";
|
|
176
|
+
statusType: "active" | "expired" | "none" | "canceled";
|
|
177
177
|
isPremium: boolean;
|
|
178
178
|
expirationDate?: string | null;
|
|
179
179
|
purchaseDate?: string | null;
|
|
180
180
|
isLifetime?: boolean;
|
|
181
181
|
daysRemaining?: number | null;
|
|
182
|
+
willRenew?: boolean;
|
|
182
183
|
credits?: Array<{
|
|
183
184
|
id: string;
|
|
184
185
|
label: string;
|
|
@@ -198,6 +199,7 @@ export interface SubscriptionConfig {
|
|
|
198
199
|
statusActive?: string;
|
|
199
200
|
statusExpired?: string;
|
|
200
201
|
statusFree?: string;
|
|
202
|
+
statusCanceled?: string;
|
|
201
203
|
};
|
|
202
204
|
onManageSubscription?: () => void;
|
|
203
205
|
onUpgrade?: () => void;
|