@umituz/react-native-subscription 2.14.24 → 2.14.25
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.25",
|
|
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",
|
|
@@ -193,7 +193,12 @@ export async function initializeSDK(
|
|
|
193
193
|
appUserID: userId,
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
await Purchases.configure({
|
|
196
|
+
await Purchases.configure({
|
|
197
|
+
apiKey: key,
|
|
198
|
+
appUserID: userId,
|
|
199
|
+
// Disable StoreKit 2 to prevent Apple Sign In dialog on simulator
|
|
200
|
+
usesStoreKit2IfAvailable: false,
|
|
201
|
+
});
|
|
197
202
|
isPurchasesConfigured = true;
|
|
198
203
|
deps.setInitialized(true);
|
|
199
204
|
deps.setCurrentUserId(userId);
|