@umituz/react-native-subscription 2.37.45 → 2.37.46
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.37.
|
|
3
|
+
"version": "2.37.46",
|
|
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",
|
|
@@ -144,6 +144,12 @@ export async function handleInitialConfiguration(
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
Purchases.setLogLevel(
|
|
148
|
+
(typeof __DEV__ !== 'undefined' && __DEV__)
|
|
149
|
+
? Purchases.LOG_LEVEL.INFO
|
|
150
|
+
: Purchases.LOG_LEVEL.ERROR
|
|
151
|
+
);
|
|
152
|
+
|
|
147
153
|
await Purchases.configure({ apiKey, appUserID: normalizedUserId || undefined });
|
|
148
154
|
deps.setInitialized(true);
|
|
149
155
|
deps.setCurrentUserId(normalizedUserId || undefined);
|