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?