I have problem with revenuecat. The application woking fin in the previous version. but when I tried testing the payment with new version the payments is not woking it gives me this error -- i'm using flutter
PlatformException(4, One or more of the arguments provided are invalid., {code: 4, message: One or more of the arguments provided are invalid., readableErrorCode: PurchaseInvalidError, readable_error_code: PurchaseInvalidError, underlyingErrorMessage: Error updating purchases. DebugMessage: . ErrorCode: DEVELOPER_ERROR., userCancelled: false}, null)
PurchaserInfo purchaserInfo = await Purchases.purchasePackage(pk);
if (purchaserInfo.entitlements.all[entitlements(pk)].isActive) {
// Unlock that great "pro" content
return true;
}
Do you have any idea how to solve this problem ? revenuecat is woking fin in IOS .