react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

Troubleshooting In-App Purchases in TestFlight using react-native-iap(v-12.10.8)

Open sanjaysoalnki2000 opened this issue 2 years ago • 1 comments

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.

sanjaysoalnki2000 avatar Dec 30 '23 05:12 sanjaysoalnki2000

2024 same problem. Somebody can help us, with this problem?

ericfreitas88 avatar Jul 15 '24 17:07 ericfreitas88

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.

hyochan avatar Sep 30 '25 18:09 hyochan