-
-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashed when buy product #374
Comments
I think this issue is also related to #315. |
Please try |
i tried beta11 and this issue still happen |
@anhdvz I've tested this yesterday with |
Issue is |
@hyochan Did you close app (move to background) and launch app again from app's launch icon? When I did that, the processing of google iap is stop, and when i buy again, app crashed. |
in my component: async componentWillUnmount() { |
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
2.4.0-beta6
Version of react-native
0.57.5
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
Buy success
Actual behavior
app crashed
Tested environment (Emulator? Real Device?)
Real device
Steps to reproduce the behavior
Error log:
Fatal Exception: com.facebook.react.bridge.ObjectAlreadyConsumedException
Map already consumed
com.facebook.react.bridge.WritableNativeArray.pushNativeMap (WritableNativeArray.java)
com.facebook.react.bridge.WritableNativeArray.pushMap (WritableNativeArray.java:53)
com.facebook.react.bridge.Arguments.fromJavaArgs (Arguments.java:187)
com.facebook.react.bridge.CallbackImpl.invoke (CallbackImpl.java:32)
com.facebook.react.bridge.PromiseImpl.resolve (PromiseImpl.java:30)
com.dooboolab.RNIap.RNIapModule.resolvePromisesForKey (RNIapModule.java:526)
com.dooboolab.RNIap.RNIapModule.access$800 (RNIapModule.java:46)
com.dooboolab.RNIap.RNIapModule$11.onPurchasesUpdated (RNIapModule.java:443)
The text was updated successfully, but these errors were encountered: