react-native-purchases-ui 9.5.3 → 9.5.4

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.
@@ -17,6 +17,6 @@ Pod::Spec.new do |spec|
17
17
  spec.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
18
18
 
19
19
  spec.dependency "React-Core"
20
- spec.dependency "PurchasesHybridCommonUI", '17.9.0'
20
+ spec.dependency "PurchasesHybridCommonUI", '17.10.0'
21
21
  spec.swift_version = '5.7'
22
22
  end
@@ -59,7 +59,7 @@ android {
59
59
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
60
60
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
61
61
  versionCode 1
62
- versionName '9.5.3'
62
+ versionName '9.5.4'
63
63
  }
64
64
 
65
65
  buildTypes {
@@ -91,7 +91,7 @@ dependencies {
91
91
  //noinspection GradleDynamicVersion
92
92
  implementation "com.facebook.react:react-native:+"
93
93
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
94
- implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.9.0'
94
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.10.0'
95
95
  implementation 'androidx.compose.ui:ui-android:1.5.4'
96
96
  implementation "androidx.appcompat:appcompat:1.6.1"
97
97
  }
@@ -117,13 +117,19 @@ internal class RNCustomerCenterModule(
117
117
  action: String,
118
118
  customAction: String?,
119
119
  purchaseIdentifier: String?
120
+ ) {
121
+ // DEPRECATED
122
+ }
123
+
124
+ override fun onCustomActionSelectedWrapper(
125
+ actionId: String,
126
+ purchaseIdentifier: String?
120
127
  ) {
121
128
  val params = WritableNativeMap().apply {
122
- putString("option", action)
123
- putString("actionId", customAction)
129
+ putString("actionId", actionId)
124
130
  putString("purchaseIdentifier", purchaseIdentifier)
125
131
  }
126
- sendEvent("onManagementOptionSelected", params)
132
+ sendEvent("onCustomActionSelected", params)
127
133
  }
128
134
 
129
135
  override fun onShowingManageSubscriptionsWrapper() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-purchases-ui",
3
3
  "title": "React Native Purchases UI",
4
- "version": "9.5.3",
4
+ "version": "9.5.4",
5
5
  "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android.",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",
@@ -78,7 +78,7 @@
78
78
  "peerDependencies": {
79
79
  "react": "*",
80
80
  "react-native": ">= 0.73.0",
81
- "react-native-purchases": "9.5.3",
81
+ "react-native-purchases": "9.5.4",
82
82
  "react-native-web": "*"
83
83
  },
84
84
  "peerDependenciesMeta": {
@@ -123,6 +123,6 @@
123
123
  ]
124
124
  },
125
125
  "dependencies": {
126
- "@revenuecat/purchases-typescript-internal": "17.9.0"
126
+ "@revenuecat/purchases-typescript-internal": "17.10.0"
127
127
  }
128
128
  }