react-native-iap
react-native-iap copied to clipboard
getPurchaseHistory() hangs up /freezes the app
Description of the issue: When I try to call getPurchaseHistory() , the app freezes. No errors... nothing
Description of what you expected to happen: A history of purchases is returned or error thrown
Environment:
- react-native-iap:
- react-native:
- Platforms (iOS simulator):
- SDK version 12.11.0
To Reproduce Steps to reproduce the behavior:
Execute the next code:
await initConnection();
const purchaseHistory = await getPurchaseHistory(); //HERE THE APP FREEZES
console.log(`Returned ${JSON.stringify(purchaseHistory)}`);
Is anyone having the same issue?
yeap, promise not resolved