Open keval7169-ops opened 7 months ago
I am getting this error when I call getAvailablePurchases()
RNIapIos.getAvailableItems was called with 1 arguments but expects 0 arguments. If you haven't changed this method yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.
-[RCTModuleMethod invokeWithBridge:module:arguments:]
RCTModuleMethod.mm:549
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_root_queue_drain_deferred_wlh
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
[react-native-iap] restoreCompletedTransactionsFailedWithError
"react-native-iap" : ^12.12.2 "react-native": "0.71.11",