Testing Installation & Purchases
Test an OnsideKit integration during development before your app is notarized and live: simulate the purchase flow with a local StoreKit file, and simulate the alternative-marketplace install source i
1. Testing the purchase flow
Onside.initialize(storeKitConfigurationName: "LocalProducts")2. Testing the install source
import MarketplaceKit
switch AppDistributor.current {
case .appStore: break
case .testFlight: break
case .marketplace(let bundleID): break // installed from an alternative marketplace
case .web: break
case .other: break
@unknown default: break
}Simulate a marketplace install during development
See also
Last updated
Was this helpful?