@umituz/react-native-subscription 2.2.30 → 2.2.31
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.2.
|
|
3
|
+
"version": "2.2.31",
|
|
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",
|
|
@@ -60,6 +60,7 @@ export const SubscriptionModalOverlay: React.FC<SubscriptionModalOverlayProps> =
|
|
|
60
60
|
variant,
|
|
61
61
|
visible,
|
|
62
62
|
layoutConfig: config,
|
|
63
|
+
screenHeight: SCREEN_HEIGHT,
|
|
63
64
|
});
|
|
64
65
|
}
|
|
65
66
|
|
|
@@ -67,7 +68,8 @@ export const SubscriptionModalOverlay: React.FC<SubscriptionModalOverlayProps> =
|
|
|
67
68
|
|
|
68
69
|
const getFullscreenContentStyle = (): ViewStyle => ({
|
|
69
70
|
width: Math.min(SCREEN_WIDTH * (config.widthPercent ?? 0.92), config.maxWidth ?? 480),
|
|
70
|
-
|
|
71
|
+
// Fullscreen varyantı için yüksekliği sabitleyelim ki ScrollView çökmesin
|
|
72
|
+
height: SCREEN_HEIGHT * (config.maxHeightPercent ?? 0.88),
|
|
71
73
|
borderRadius: config.borderRadius ?? 32,
|
|
72
74
|
overflow: "hidden",
|
|
73
75
|
borderWidth: 1,
|