Hello,
I’m facing an issue with the package expo-in-app-purchases, and especially with the method getPurchaseHistoryAsync(),
I’m using it to check the state of the purchase that is retrieved, and is works correctly when I didn’t buy anything or when I first bought a product inside my appli which is a non-consumable product.
The problem is when I refund it using Google Play Console, I still receive the purchaseState as 1 which means PURCHASED :
export enum InAppPurchaseState {
PURCHASING = 0,
PURCHASED = 1,
FAILED = 2,
RESTORED = 3,
DEFERRED = 4,
}
Is there any way to know when a product has been refund ?
Thanks