Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions Sources/OpenIapModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -606,17 +606,7 @@ public final class OpenIapModule: NSObject, OpenIapModuleProtocol {
// MARK: - Misc

public func isEligibleForIntroOfferIOS(groupID: String) async throws -> Bool {
for await verification in Transaction.currentEntitlements {
do {
let transaction = try checkVerified(verification)
if transaction.subscriptionGroupID == groupID {
return false
}
} catch {
continue
}
}
return true
await StoreKit.Product.SubscriptionInfo.isEligibleForIntroOffer(for: groupID)
}

public func syncIOS() async throws -> Bool {
Expand Down