RNIap.getProducts doesn't get updated products details on Android
See original GitHub issueVersion of react-native-iap
2.3.6
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
If I update a manageable product (ie changing title, description, and / or price), I should get the updated product when I call RNIap.getProducts(productSkuList)
, and when I try to buy it, I should get a contextual menu with the updated fields
Actual behavior
RNIap.getProducts(productSkuList)
always give me back the old product, BUT when I try to buy it, I see the updated product in the contextual menu
Tested environment (Emulator? Real Device?)
Real device, Samsung Galaxy S7
Steps to reproduce the behavior
As described in “Expected behavior”
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
RNIap.getProducts(itemSku) returns empty array
I have been following along with this tutorial, but run into problems when I get to RNIap.prepare() . My app was using the...
Read more >How to use the react-native-iap.getProducts function in ...
To help you get started, we've selected a few react-native-iap.getProducts examples ... async componentDidMount() { try { const products = await RNIap.
Read more >react-native-iap - npm
Android iap is implemented with iap version 3 which is currently recent. ... To get a list of valid items, call getProducts() ....
Read more >Cannot get array of products / subscriptions #651
getProducts and RNIap.getSubscriptions always return empty arrays. Tested environment (Emulator? Real Device?) iOS simulator, Android emulator and Android real ...
Read more >Implementing Auto Renewal Subscription in React Native
So here I am using Flatlist to render the product info I have created in above steps and accessed it through RNIap.getProducts(itemSkus) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What I do to force the change is deleting the app and creating a new one, and if it is not enough, I disable and re enable google service from the phone settings.
On Mon, 19 Oct 2020 at 12:31, Andres Bordese notifications@github.com wrote:
For anyone reading this in the future it was a caching issue, it took around 2 hours to reflect the changes made to the iap item on the app.