@umituz/react-native-subscription 3.1.28 → 3.1.29
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": "3.1.
|
|
3
|
+
"version": "3.1.29",
|
|
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",
|
|
@@ -89,22 +89,25 @@ export const PaywallFooter: React.FC<PaywallFooterProps> = React.memo(({
|
|
|
89
89
|
</TouchableOpacity>
|
|
90
90
|
)}
|
|
91
91
|
|
|
92
|
-
{/*
|
|
93
|
-
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
92
|
+
{/* Footer Links - Premium inline layout */}
|
|
93
|
+
<View style={[footerStyles.legalContainer, { marginTop: spacing / 2 }]}>
|
|
94
|
+
{onRestore && (
|
|
95
|
+
<TouchableOpacity
|
|
96
|
+
onPress={onRestore}
|
|
97
|
+
disabled={isProcessing}
|
|
98
|
+
activeOpacity={0.6}
|
|
99
|
+
style={footerStyles.restoreButton}
|
|
100
|
+
>
|
|
101
|
+
<AtomicText style={[footerStyles.legalText, { color: tokens.colors.textSecondary, fontWeight: '600' }]}>
|
|
102
|
+
{translations.restoreButtonText}
|
|
103
|
+
</AtomicText>
|
|
104
|
+
</TouchableOpacity>
|
|
105
|
+
)}
|
|
106
|
+
|
|
107
|
+
{(onRestore && legalUrls.termsUrl) && (
|
|
108
|
+
<AtomicText style={footerStyles.legalSeparator}> • </AtomicText>
|
|
109
|
+
)}
|
|
105
110
|
|
|
106
|
-
{/* Legal Links - Responsive spacing */}
|
|
107
|
-
<View style={footerStyles.legalContainer}>
|
|
108
111
|
{legalUrls.termsUrl && (
|
|
109
112
|
<TouchableOpacity
|
|
110
113
|
onPress={() => onLegalClick(legalUrls.termsUrl)}
|
|
@@ -115,6 +118,7 @@ export const PaywallFooter: React.FC<PaywallFooterProps> = React.memo(({
|
|
|
115
118
|
</AtomicText>
|
|
116
119
|
</TouchableOpacity>
|
|
117
120
|
)}
|
|
121
|
+
|
|
118
122
|
{legalUrls.privacyUrl && (
|
|
119
123
|
<>
|
|
120
124
|
<AtomicText style={footerStyles.legalSeparator}> • </AtomicText>
|
|
@@ -45,9 +45,9 @@ export const PaywallRenderItem: React.FC<PaywallRenderItemProps> = React.memo(({
|
|
|
45
45
|
[responsive]
|
|
46
46
|
);
|
|
47
47
|
|
|
48
|
-
// Responsive feature icon size
|
|
48
|
+
// Responsive feature icon size - use spacing multiplier directly to avoid max/min constraints from getIconSize
|
|
49
49
|
const featureIconSize = React.useMemo(
|
|
50
|
-
() =>
|
|
50
|
+
() => Math.round(30 * responsive.spacingMultiplier),
|
|
51
51
|
[responsive]
|
|
52
52
|
);
|
|
53
53
|
|