I have a React Native Expo project. I'm using this library. - for in app payments on iOS.
The issue is, my query for available in-app purchases is returning nothing.
While the purchases can't be retrieved, I can't build any payments.
Notes:
- I'm testing RN app through the Expo iOS client
- In app purchases are
ready to submit
in Apple connect - App has all data complete in Apple connect, but is not submitted yet
Here is the code. It's copypaste from the GitHub documentation
try { await InAppPurchases.connectAsync(); const items = Platform.select({ ios: ["basic", "medium", "best"], android: [], }); // Retrieve product details const getPurchasable = await InAppPurchases.getProductsAsync(items); const { responseCode, results } = getPurchasable;