You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
payment success
Actual behavior
Getting Crashes and got below error
data:text/text;charset=utf-8,
java.lang.RuntimeException: Cannot convert argument of type class com.android.billingclient.api.Purchase
at com.facebook.react.bridge.Arguments.fromJavaArgs(Arguments.java:191)
at com.facebook.react.bridge.CallbackImpl.invoke(CallbackImpl.java:32)
at com.facebook.react.bridge.PromiseImpl.resolve(PromiseImpl.java:57)
at com.dooboolab.RNIap.DoobooUtils.resolvePromisesForKey(DoobooUtils.java:125)
at com.dooboolab.RNIap.RNIapModule.onPurchasesUpdated(RNIapModule.java:527)
at com.android.billingclient.api.BillingClientImpl$1.onReceiveResult(BillingClientImpl.java:185)
at android.os.ResultReceiver$MyRunnable.run(ResultReceiver.java:50)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6517)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Tested environment (Emulator? Real Device?)
Real Device
Steps to reproduce the behavior
Android - Alpha Release
The text was updated successfully, but these errors were encountered:
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
Version of react-native-iap
4.0.2
Version of react-native
0.60.5
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
payment success
Actual behavior
Getting Crashes and got below error
data:text/text;charset=utf-8,
java.lang.RuntimeException: Cannot convert argument of type class com.android.billingclient.api.Purchase
at com.facebook.react.bridge.Arguments.fromJavaArgs(Arguments.java:191)
at com.facebook.react.bridge.CallbackImpl.invoke(CallbackImpl.java:32)
at com.facebook.react.bridge.PromiseImpl.resolve(PromiseImpl.java:57)
at com.dooboolab.RNIap.DoobooUtils.resolvePromisesForKey(DoobooUtils.java:125)
at com.dooboolab.RNIap.RNIapModule.onPurchasesUpdated(RNIapModule.java:527)
at com.android.billingclient.api.BillingClientImpl$1.onReceiveResult(BillingClientImpl.java:185)
at android.os.ResultReceiver$MyRunnable.run(ResultReceiver.java:50)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6517)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Tested environment (Emulator? Real Device?)
Real Device
Steps to reproduce the behavior
Android - Alpha Release
The text was updated successfully, but these errors were encountered: