Native iOS SDK (StoreKit 2)
🚧 Coming Soon
Native iOS SDK for StoreKit 2 is in development. Expected release: Q2 2026
Target Audience
This SDK is for apps using:
- Native Swift/SwiftUI
- StoreKit 2 (iOS 15+)
- Direct App Store integration (no RevenueCat)
Planned Features
- ✓ Swift Package Manager support
- ✓ StoreKit 2 transaction integration
- ✓ Automatic attribution via device fingerprinting
- ✓ Manual promo code entry
- ✓ SwiftUI components
Planned API (Subject to Change)
Installation (SPM)
dependencies: [
.package(url: "https://github.com/influto/influto-ios-sdk", from: "1.0.0")
]Usage Example
import InfluToSDK
// Initialize
InfluTo.shared.initialize(apiKey: "it_live_abc123...")
// Check attribution
let attribution = await InfluTo.shared.checkAttribution()
if attribution.attributed {
print("User from: (attribution.referralCode)")
}
// On purchase with StoreKit 2
for await result in Transaction.updates {
if case .verified(let transaction) = result {
// Send to InfluTo
await InfluTo.shared.trackPurchase(
transaction: transaction,
referralCode: attribution.referralCode
)
}
}Current Workaround
If you need InfluTo now with native iOS:
Option 1: Use RevenueCat
- Add RevenueCat SDK to your app
- Use our React Native SDK via React Native integration
- Or wait for native SDK release
Option 2: REST API Integration
Advanced users can call our API directly:
// Check attribution
POST https://influ.to/api/sdk/track-install
Headers: Authorization: Bearer it_live_...
Body: { platform: "ios", device_id: "..." }
// On purchase, send webhook yourself
POST https://influ.to/api/webhooks/purchase
Body: { transaction_id, product_id, referral_code, ... }Contact hello@influ.to for custom integration support.
Get Notified
Email hello@influ.to with subject "Native iOS SDK Interest" to be notified when we release.