dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.81k stars 641 forks source link

getPurchaseHistory() hangs up /freezes the app #2602

Open carlosmellado opened 11 months ago

carlosmellado commented 11 months ago

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:

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?

anatoolybinerals commented 7 months ago

yeap, promise not resolved