chirag04 / react-native-in-app-utils

A react-native wrapper for handling in-app payments
MIT License
892 stars 187 forks source link

We didn't find any purchases to restore. #220

Open fengmin2611 opened 4 years ago

fengmin2611 commented 4 years ago

Hello, I am using the version 6.0.2 and sometimes cannot restore . Here is my code:    InAppUtils.restorePurchases ((error, response) => {           if (error) {              Alert.alert ('Itunes Error', 'Could not connect to itunes store.');           } else {                if (response.length === 0) {                  Alert.alert ('No Purchases', "We didn't find any purchases to restore.");                  return;                } ... } Even those who successfully buy and receive invoices from Apple cannot restore with message "No Purchases', "We didn't find any purchases to restore." Is there anyone who can help me solve this problem? Thanks for your support

elribonazo commented 4 years ago

On my case, this method does not call its callback. Could you get it solved by the way?

acb commented 3 years ago

I have the same problem with 6.1.0 on iOS 14 only. Response is always an empty array so now people are essentially losing their purchases.