-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
getProducts() is empty #999
Comments
I hope you followed the thread. If things don't work as expected, I hope you try things all over again because you may have missed somethings. I've been creating products to test this module several times and I've not had failed since then. |
I was using
and it started working when i removed
|
FWIW downgrading to |
Properly setting up sandbox account seems to have solved the problem |
I got this problem again now that I tried to add some more IAP's, but they were not returned by |
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. |
same (android) |
same (ios) |
works now, user agreements status for paid apps on App Store connect (IOS) has to be active, and it seems to only work on an actual device and not on a simulator. |
Does the app has to be released on Play store as alpha to get your products (and wait the end of the review) ? Because to create in app products on the google play console you just have to upload your signed apk to a track. You don't have to release it. Currently my app is being reviewed on an internal track, I have created my in app products on the console but I still got an empty array. |
If i remember correctly yes I had to release it to alpha |
yes @ingerable you need to submit a build to TestFlight at least so your in app subscription becomes active & make sure youve finished submitting all the requirements on the agreement section on App Store connect |
make sure your purchases status are approved & use an actual device not your simulator. |
I am using a real device, each of my purchases has the status active. My app is currently being reviewed for closed track release, should I be able to retrieve my products ? As I said, currently I have an empty array as response. |
you should get them, after release |
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. |
Duplicate of this: #1231. Closing as stale, feel free to reopen if you have more information |
{"_h": 0, "_i": 0, "_j": null, "_k": null} i am getting this in response |
Version of react-native-iap
4.4.2
Version of react-native
0.61.5
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
getProducts(['modulo_training_autogeno'])
returns an array with 1 productActual behavior
Source for the whole application:
Got 1 active product on Play Console. Pushed signed apk for internal test.
getProducts(['modulo_training_autogeno'])
is the empty array on AndroidTested environment (Emulator? Real Device?)
Real device
Steps to reproduce the behavior
Do everything as said in the medium blog post.
Also seen #977
The text was updated successfully, but these errors were encountered: