@umituz/react-native-subscription 2.14.52 → 2.14.53
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-subscription",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.53",
|
|
4
4
|
"description": "Complete subscription management with RevenueCat, paywall UI, and credits system for React Native apps",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import React, { useState, useCallback } from "react";
|
|
7
|
-
import { View, ScrollView, TouchableOpacity,
|
|
8
|
-
import { BaseModal, useAppDesignTokens, AtomicText, AtomicIcon } from "@umituz/react-native-design-system";
|
|
7
|
+
import { View, ScrollView, TouchableOpacity, Linking, type ImageSourcePropType } from "react-native";
|
|
8
|
+
import { BaseModal, useAppDesignTokens, AtomicText, AtomicIcon, AtomicSpinner } from "@umituz/react-native-design-system";
|
|
9
9
|
import { Image } from "expo-image";
|
|
10
10
|
import type { PurchasesPackage } from "react-native-purchases";
|
|
11
11
|
import { PlanCard } from "./PlanCard";
|
|
@@ -149,10 +149,11 @@ export const PaywallModal: React.FC<PaywallModalProps> = React.memo((props) => {
|
|
|
149
149
|
|
|
150
150
|
{isLoading ? (
|
|
151
151
|
<View style={styles.loading}>
|
|
152
|
-
<
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
<AtomicSpinner
|
|
153
|
+
size="lg"
|
|
154
|
+
color="primary"
|
|
155
|
+
text={translations.loadingText}
|
|
156
|
+
/>
|
|
156
157
|
</View>
|
|
157
158
|
) : (
|
|
158
159
|
<View style={styles.plans}>
|
|
@@ -51,7 +51,7 @@ export const TransactionList: React.FC<TransactionListProps> = ({
|
|
|
51
51
|
>
|
|
52
52
|
{translations.title}
|
|
53
53
|
</AtomicText>
|
|
54
|
-
<AtomicIcon name="
|
|
54
|
+
<AtomicIcon name="time-outline" size="md" color="secondary" />
|
|
55
55
|
</View>
|
|
56
56
|
|
|
57
57
|
{loading ? (
|
|
@@ -63,7 +63,7 @@ export const TransactionList: React.FC<TransactionListProps> = ({
|
|
|
63
63
|
/>
|
|
64
64
|
) : transactions.length === 0 ? (
|
|
65
65
|
<View style={styles.stateContainer}>
|
|
66
|
-
<AtomicIcon name="
|
|
66
|
+
<AtomicIcon name="file-tray-outline" size="xl" color="secondary" />
|
|
67
67
|
<AtomicText
|
|
68
68
|
type="bodyMedium"
|
|
69
69
|
style={[styles.stateText, { color: tokens.colors.textSecondary }]}
|