@umituz/react-native-subscription 2.10.5 → 2.10.7

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.10.5",
3
+ "version": "2.10.7",
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",
@@ -75,6 +75,9 @@ export const PaywallModal: React.FC<PaywallModalProps> = React.memo((props) => {
75
75
  privacyText,
76
76
  termsOfServiceText,
77
77
  restoreButtonText,
78
+ loadingText,
79
+ emptyText,
80
+ processingText,
78
81
  } = props;
79
82
 
80
83
  const { modalLayout } = useResponsive();
@@ -128,7 +128,11 @@ export async function initializeSDK(
128
128
  console.log("[RevenueCat] Calling Purchases.configure()...");
129
129
  }
130
130
 
131
- await Purchases.configure({ apiKey: key, appUserID: userId });
131
+ if (deps.isUsingTestStore()) {
132
+ await Purchases.configureInAppBrowserMode();
133
+ } else {
134
+ await Purchases.configure({ apiKey: key, appUserID: userId });
135
+ }
132
136
  deps.setInitialized(true);
133
137
  deps.setCurrentUserId(userId);
134
138