react-native-iap 8.0.4 → 8.0.5
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/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -129,6 +129,16 @@ class RNIapAmazonModule(reactContext: ReactApplicationContext?) :
|
|
|
129
129
|
sendUnconsumedPurchases(promise)
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
@ReactMethod
|
|
133
|
+
fun addListener(eventName: String) {
|
|
134
|
+
// Keep: Required for RN built-in Event Emitter Calls.
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@ReactMethod
|
|
138
|
+
fun removeListeners(count: Double) {
|
|
139
|
+
// Keep: Required for RN built-in Event Emitter Calls.
|
|
140
|
+
}
|
|
141
|
+
|
|
132
142
|
companion object {
|
|
133
143
|
const val PROMISE_BUY_ITEM = "PROMISE_BUY_ITEM"
|
|
134
144
|
const val PROMISE_GET_PRODUCT_DATA = "PROMISE_GET_PRODUCT_DATA"
|
|
@@ -136,4 +146,4 @@ class RNIapAmazonModule(reactContext: ReactApplicationContext?) :
|
|
|
136
146
|
const val PROMISE_QUERY_AVAILABLE_ITEMS = "PROMISE_QUERY_AVAILABLE_ITEMS"
|
|
137
147
|
const val PROMISE_GET_USER_DATA = "PROMISE_GET_USER_DATA"
|
|
138
148
|
}
|
|
139
|
-
}
|
|
149
|
+
}
|
|
@@ -648,6 +648,16 @@ class RNIapModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaM
|
|
|
648
648
|
sendUnconsumedPurchases(promise)
|
|
649
649
|
}
|
|
650
650
|
|
|
651
|
+
@ReactMethod
|
|
652
|
+
fun addListener(eventName: String) {
|
|
653
|
+
// Keep: Required for RN built-in Event Emitter Calls.
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
@ReactMethod
|
|
657
|
+
fun removeListeners(count: Double) {
|
|
658
|
+
// Keep: Required for RN built-in Event Emitter Calls.
|
|
659
|
+
}
|
|
660
|
+
|
|
651
661
|
@get:ReactMethod
|
|
652
662
|
val packageName: String
|
|
653
663
|
get() = reactApplicationContext.packageName
|
|
@@ -679,4 +689,4 @@ class RNIapModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaM
|
|
|
679
689
|
}
|
|
680
690
|
reactContext.addLifecycleEventListener(lifecycleEventListener)
|
|
681
691
|
}
|
|
682
|
-
}
|
|
692
|
+
}
|