iOS SDK (Swift)

Add InfluTo referral & affiliate attribution to a native iOS (SwiftUI / UIKit) app, with store-direct purchase validation via StoreKit 2.

Package
github.com/influto/influto-ios
Language
Swift
Registry
Swift Package Index ↗
Repository
github.com/influto/influto-ios ↗
Version
1.0.0
Install via
Swift Package Manager

Install

// Xcode → File → Add Package Dependencies →
//   https://github.com/influto/influto-ios   (from 1.0.0)
// Or in Package.swift:
.package(url: "https://github.com/influto/influto-ios.git", from: "1.0.0")

Full integration reference

initialize(), checkAttribution(), applyCode(), checkAccess(), and store-direct reportPurchase() with StoreKit 2 — version-correct and machine-readable.

Free access (comp) codes

The same code field that accepts referral codes also redeems creator free-access codes (INFLU-…) and developer comp codes. Access is server-authoritative — gate premium on store entitlement OR checkAccess().hasAccess. Setup and troubleshooting: creator access codes.

Next steps