@umituz/react-native-subscription 2.11.1 → 2.11.2

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.11.1",
3
+ "version": "2.11.2",
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,4 +69,4 @@
69
69
  "README.md",
70
70
  "LICENSE"
71
71
  ]
72
- }
72
+ }
@@ -89,7 +89,10 @@ export const SubscriptionPackageList: React.FC<SubscriptionPackageListProps> = R
89
89
  }
90
90
 
91
91
  // Get credit amount for this package if provided
92
- const creditAmount = creditAmounts?.[pkg.product.identifier];
92
+ // check both product identifier (e.g., com.app.weekly) and package identifier (e.g., $rc_weekly)
93
+ const creditAmount =
94
+ creditAmounts?.[pkg.product.identifier] ??
95
+ creditAmounts?.[pkg.identifier];
93
96
 
94
97
  return (
95
98
  <SubscriptionPlanCard