@umituz/react-native-subscription 2.14.9 → 2.14.10
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.10",
|
|
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",
|
|
@@ -62,7 +62,7 @@ export const PaywallTabBar: React.FC<PaywallTabBarProps> = React.memo(
|
|
|
62
62
|
return (
|
|
63
63
|
<View style={[styles.container, { backgroundColor: tokens.colors.surfaceSecondary }]}>
|
|
64
64
|
<Animated.View
|
|
65
|
-
style={[styles.indicator, { backgroundColor: tokens.colors.surface, left: indicatorLeft }]}
|
|
65
|
+
style={[styles.indicator, { backgroundColor: tokens.colors.surface, left: indicatorLeft }] as any}
|
|
66
66
|
/>
|
|
67
67
|
{renderTab("credits", creditsLabel)}
|
|
68
68
|
{renderTab("subscription", subscriptionLabel)}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
View,
|
|
9
9
|
Modal,
|
|
10
10
|
TouchableOpacity,
|
|
11
|
-
|
|
11
|
+
Pressable,
|
|
12
12
|
TextInput,
|
|
13
13
|
KeyboardAvoidingView,
|
|
14
14
|
} from "react-native";
|
|
@@ -75,14 +75,13 @@ export const PaywallFeedbackModal: React.FC<PaywallFeedbackModalProps> = React.m
|
|
|
75
75
|
animationType="fade"
|
|
76
76
|
onRequestClose={handleSkip}
|
|
77
77
|
>
|
|
78
|
-
<
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
>
|
|
84
|
-
<
|
|
85
|
-
<View style={styles.container}>
|
|
78
|
+
<Pressable onPress={handleSkip} style={styles.overlay}>
|
|
79
|
+
<KeyboardAvoidingView
|
|
80
|
+
behavior="padding"
|
|
81
|
+
style={styles.keyboardView}
|
|
82
|
+
>
|
|
83
|
+
<Pressable onPress={(e) => e.stopPropagation()}>
|
|
84
|
+
<View style={styles.container}>
|
|
86
85
|
<View style={styles.header}>
|
|
87
86
|
<AtomicText type="headlineMedium" style={styles.title}>
|
|
88
87
|
{displayTitle}
|
|
@@ -159,11 +158,10 @@ export const PaywallFeedbackModal: React.FC<PaywallFeedbackModalProps> = React.m
|
|
|
159
158
|
{displaySubmitText}
|
|
160
159
|
</AtomicText>
|
|
161
160
|
</TouchableOpacity>
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
</TouchableWithoutFeedback>
|
|
161
|
+
</View>
|
|
162
|
+
</Pressable>
|
|
163
|
+
</KeyboardAvoidingView>
|
|
164
|
+
</Pressable>
|
|
167
165
|
</Modal>
|
|
168
166
|
);
|
|
169
167
|
});
|