-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
[ioS] "Invalid Product ID" #256
Comments
@friendly-robot Looks fine. Could you try |
@dooboolab Wow, upgrading really solved the issue. Thank you so much! I was starting to get really frustrated because everything seemed to be correct but it just wasn't working. I'm so happy now. Very awesome work on this library. And I love your name by the way! =D |
Hi everyone, I have the same problem. I always get an empty array when calling getProducts |
me too |
same here |
Have you all checked above steps? I'll post this below again.
|
Please what does this step mean? is it |
@djGrill open XCode > Product > Clean |
@djGrill To do it manually you can just go to your Project ios folder under your_app_name_here and delete build |
What does this mean?
|
And how can I do this exactly?
|
|
does this work on simulator? Signed into iOS device with sandbox account. |
@HappyCodingLover are you sure you submitted your purchase items to apple https://appstoreconnect.apple.com -> In-App Purchases and submitted items to the store? Besides you should have your first binary with the in app purchase capability in the store to the being reviewed at least to make your items available to your debug or release version. |
Hi, Code example:
|
Version of react-native-iap
2.1.0
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
RNIap.buyProduct('com.app.product.id')
should return an object.Actual behavior
Screen displays "Invalid Product ID" and catches error:
Tested environment (Emulator? Real Device?)
Emulator and real device.
Steps to reproduce the behavior
I followed every instruction in the documentation to the T and have scoured through pages of Google results as well as relevant resolved issues in this repo. My checklist to date:
i. Ready to Submit
ii. Missing Metadata
iii. Waiting for Review
RNIap.buyProduct('com.app.product.id')
for each product all throwing the same error.The only thing I haven't tried yet is fast forward time (I thought going to sleep last night might help! :) because it hasn't been a full 24 hours since I've created the sandbox account / initialized the in-app purchases / everything above basically. Please help, it seems as though many people were missing one of the steps above before it started working for them but I've tried them all and it still doesn't work. Am I missing something?
The text was updated successfully, but these errors were encountered: