iOS syncIOS
Force a StoreKit sync for transactions (iOS 15+, macOS 14+).
Wraps AppStore.sync() — forces StoreKit to refresh transactions and entitlements, prompts the user to authenticate. iOS 15+, macOS 14+. See the Apple StoreKit reference.
Signature
swift
func syncIOS() async throws -> BoolReturns#
Promise<boolean> — true once the App Store sync completes.
Example
swift
try await OpenIapModule.shared.syncIOS()