We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.4.12
0.60.5
iOS
normal working: return productId and open AppStore purchase process
javascript error in debugger like "getPromotedProductIOS is not a function"
real device
Try to use these functions.
After I added declaration and export in index.d.ts and index.js all works well.
index.d.ts
... export function getPromotedProductIOS(): Promise<Product<string>>; export function buyPromotedProductIOS(): Promise<ProductPurchase>;
index.js
export default { ..., getPromotedProductIOS, buyPromotedProductIOS, };
The text was updated successfully, but these errors were encountered:
02102a9
You are right. I've just release 3.4.13 with update. Consider giving PR next time! Thank you.
3.4.13
PR
Sorry, something went wrong.
No branches or pull requests
Version of react-native-iap
3.4.12
Version of react-native
0.60.5
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
normal working: return productId and open AppStore purchase process
Actual behavior
javascript error in debugger like "getPromotedProductIOS is not a function"
Tested environment (Emulator? Real Device?)
real device
Steps to reproduce the behavior
Try to use these functions.
After I added declaration and export in index.d.ts and index.js all works well.
index.d.ts
index.js
The text was updated successfully, but these errors were encountered: