Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit 8df97d1

Browse files
committed
refactor(api): remove sku validateReceipt overload
1 parent fc5fd78 commit 8df97d1

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

openiap/src/main/java/dev/hyo/openiap/OpenIapProtocol.kt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,9 @@ interface OpenIapProtocol {
9797
// ============================================================================
9898
// Validation
9999
// ============================================================================
100-
101100
/**
102-
* Validate a receipt with your server or platform servers.
101+
* Validate a receipt with your server (recommended) or platform servers.
103102
* All purchase types should be validated before granting entitlements.
104-
* @param sku Product SKU to validate
105-
* @param androidOptions Android-specific validation options
106-
* @return Validation result with receipt data
107-
*/
108-
suspend fun validateReceipt(
109-
sku: String,
110-
androidOptions: ReceiptValidationProps.AndroidValidationOptions? = null
111-
): ReceiptValidationResultAndroid?
112-
113-
/**
114-
* Overload matching openiap.dev validateReceipt(options: ReceiptValidationProps)
115103
*/
116104
suspend fun validateReceipt(options: ReceiptValidationProps): ReceiptValidationResultAndroid?
117105

0 commit comments

Comments
 (0)