Troubleshooting In-App Purchases in TestFlight using react-native-iap(v-12.10.8)
const { connected, subscriptions, getSubscriptions, currentPurchase, finishTransaction, purchaseHistory, getPurchaseHistory, } = useIAP();
try { await getSubscriptions({ skus: subscriptionSkus }); } catch (error) { errorLog({ message: "handleGetSubscriptions", error }); }
In react-native app , I am encountering an issue with in-app purchases in my iOS app. When I install the app directly from Xcode, in-app purchases work seamlessly. However, after archiving the app and installing it from TestFlight, I am repeatedly prompted with the sandbox sign-in popup. After entering the correct sandbox tester account credentials, nothing happens, and no subscription is getting.
i also added (.storekit) file in my project by xcode.
2024 same problem. Somebody can help us, with this problem?
I’m closing all issues reported in versions below 14, as the library now supports the new architecture with NitroModules and has been completely revamped.