iOS isEligibleForExternalPurchaseCustomLinkIOS
Check whether the app is eligible to use the ExternalPurchaseCustomLink API (iOS 18.1+, macOS 15.1+). Returns true when the bundle is approved for the corresponding entitlement and music-streaming-app-style flows are allowed.
Wraps ExternalPurchaseCustomLink.isEligible — iOS 18.1+, macOS 15.1+. See the Apple StoreKit reference.
Signature
swift
func isEligibleForExternalPurchaseCustomLinkIOS() async throws -> BoolReturns#
Promise<boolean> — Whether the app can use ExternalPurchaseCustomLink (iOS 18.1+, macOS 15.1+).
Example
swift
let ok = try await OpenIapModule.shared.isEligibleForExternalPurchaseCustomLinkIOS()