Closed 19424056 closed 1 year ago
@andresesfm Do you think that is the cause? Please help me
@19424056 Thank you for your feedback. I can see the need for all the transactions to be returned. Here is a proposed solution: https://github.com/dooboolab/react-native-iap/pull/2134
Released in 12.4.6
. Let me know/reopen if any issues
tks so much @andresesfm
Description storekitMode: 'STOREKIT2_MODE'
Code i am using:
getPurchaseHistory but current using function getAvailableItems, so when call getPurchaseHistory then return transactions available
https://developer.apple.com/documentation/storekit/transaction/3851204-currententitlements
node_modules/react-native-iap/src/iap.ts
node_modules/react-native-iap/ios/RNIapIosSk2.swift
I think the problem is here, i tried it and it works well: https://developer.apple.com/documentation/storekit/transaction/3851203-all
node_modules/react-native-iap/ios/RNIapIosSk2.swift add new function getHistoryItems
node_modules/react-native-iap/src/iap.ts
Expected Behavior The string is printed to the console
Screenshots N/A
Environment:
To Reproduce Steps to reproduce the behavior:
[Optional] Additional Context