@umituz/react-native-subscription 2.14.5 → 2.14.6

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.5",
3
+ "version": "2.14.6",
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",
@@ -69,7 +69,8 @@ class SubscriptionManagerImpl {
69
69
 
70
70
  this.packageHandler!.setService(this.serviceInstance);
71
71
 
72
- const result = await this.serviceInstance.initialize(userId, this.managerConfig!.apiKey);
72
+ // Don't pass apiKey - let resolveApiKey decide based on environment (Expo Go = test store key)
73
+ const result = await this.serviceInstance.initialize(userId);
73
74
  return result.success;
74
75
  } catch (error) {
75
76
  trackPackageError(error instanceof Error ? error : new Error(String(error)), {