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

Commit 508ac89

Browse files
committed
fix: add userChoiceBillingAndroid case to removeListener for exhaustive switch
1 parent 7fe66b2 commit 508ac89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/Helpers/IapState.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ actor IapState {
5555
purchaseErrorListeners.removeAll { $0.id == id }
5656
case .promotedProductIos:
5757
promotedProductListeners.removeAll { $0.id == id }
58+
case .userChoiceBillingAndroid:
59+
// Android-only event, no-op on iOS
60+
break
5861
@unknown default:
5962
break
6063
}

0 commit comments

Comments
 (0)