dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.74k stars 633 forks source link

It won't update the product information after changing it in the store #1283

Closed InsideT closed 3 years ago

InsideT commented 3 years ago

Version of react-native-iap

6.0.1

Version of react-native

0.63.3

Platforms you faced the error (IOS or Android or both?)

Android

Expected behavior

Update product information.

Actual behavior

It won't update with the newest information of the product.

Tested environment (Emulator? Real Device?)

Real Device

Steps to reproduce the behavior

Retrieve the products and subscriptions

const skus = ["test_sku"];
let products = [];
const subscription = await RNIap.getSubscriptions(skus);
products = await RNIap.getProducts(skus);
products.push(subscription[0]);

Then change the information of your product.

hyochan commented 3 years ago

I also want to investigate this further. Could you kindly share this in Discussion to open discussion? I'll close this issue.