chirag04 / react-native-in-app-utils

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

InAppUtils.receiptData returns undefined #219

Open mrcwerfar opened 4 years ago

mrcwerfar commented 4 years ago

After running this

InAppUtils.receiptData((error, receiptData)=> { if(error) { Alert.alert('itunes Error', 'Receipt not found.'); } else { //send to validation server } });

receiptData and error is both undefined...

Before trying to get the receipt I run InAppUtils.loadProducts(..) which works fine.

Any suggestions?