-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
AndroidRuntime: FATAL EXCEPTION with android.test.canceled #177
Comments
@martnst I haven't tried this one. I'll come back to you if I try this. |
Hi @dooboolab , Thanks a lot for this wonderful package. Initially I used 2 different packages for Android and IOS but now I use only yours. Saved so much of my time. Even I am facing the same issue with android.test.canceled.
According to what I understand, I think the buy method is trying to load all already purchased products of the current account which leads to the crash? Correct me if I am totally wrong as I am not much into android native code, but the log messages gave me this first impression :) |
@martnst @yasheshkt Sorry for late come back guys. I was really busy these days. Could you please try |
@dooboolab thanks for the quick fix. It working fine for me now. |
experiencing the same problem now on version |
Version of react-native-iap
1.0.6
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
no crash, instead fail gracefully
Actual behavior
crash in android native module
Tested environment (Emulator? Real Device?)
Device: Motoralo Moto G4
Steps to reproduce the behavior
Testing my app with test iap id
android.test.canceled
I get the following crash after android tells me the purchase was successful.Eventhough there might be actually sth. going wrong I would expect
com.dooboolab.RNIap.RNIapModule
to fail gracefully instead of crashing.Thx
The text was updated successfully, but these errors were encountered: