You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to fetch products via the onFetchProducts(). Here's what the code looks like:
import InAppPurchase from '@class101/react-native-in-app-purchase';
...
InAppPurchase.onFetchProducts(async (products) => {
console.log(products) // []
});
...
// not the real data but the PRODUCT_IDS are based on our App Store Connect data
const PRODUCT_IDS = [
"rniap.sample.normal",
"rniap.sample.consumable",
"rniap.sample.subscribe",
];
// async event handler
const handleFetchProducts = async () => {
await InAppPurchase.configure()
InAppPurchase.fetchProducts(PRODUCT_IDS);
}
handleFetchProducts();
Is iOS 15.6.1 supported?
The text was updated successfully, but these errors were encountered:
isotopeee
changed the title
iOS | Unable to fetch products (Consumable and Auto-renewable) on iOS 15.6.1
Unable to fetch products (Consumable and Auto-renewable) on iOS 15.6.1
Oct 12, 2022
I'm unable to fetch products via the
onFetchProducts()
. Here's what the code looks like:Is iOS 15.6.1 supported?
The text was updated successfully, but these errors were encountered: