Installation

Install the InfluTo SDK in your mobile app

React Native (Available Now)

1. Install Package

npm install @influto/react-native-sdk@latest
# or
yarn add @influto/react-native-sdk

# Install peer dependencies
npm install @react-native-async-storage/async-storage

2. iOS Setup (if using iOS)

cd ios && pod install && cd ..

3. Verify Installation

import InfluTo from '@influto/react-native-sdk';

// Should not throw error
console.log('InfluTo SDK loaded:', InfluTo);

✓ Installation Complete

Continue to Quick Start Guide to initialize the SDK.


Flutter (Coming Soon)

Flutter SDK is currently in development. Expected release: Q2 2026.

Get Notified

Email hello@influ.to to be notified when Flutter SDK is released.

Planned API (Subject to Change)

import 'package:influto_sdk/influto_sdk.dart';

// Initialize
await InfluTo.initialize(
  apiKey: 'it_abc123...',
  debug: kDebugMode,
);

// Check attribution
final attribution = await InfluTo.checkAttribution();

if (attribution.attributed) {
  print('User from: ${attribution.referralCode}');
}

Native iOS - StoreKit (Coming Soon)

For apps using native StoreKit 2 without RevenueCat. Expected release: Q2 2026.

Planned Integration

import InfluToSDK

// Initialize
InfluTo.shared.initialize(apiKey: "it_abc123...")

// Check attribution
let attribution = await InfluTo.shared.checkAttribution()

if attribution.attributed {
    print("User from: (attribution.referralCode)")

    // Set in StoreKit transaction
    // Details TBD based on StoreKit 2 API
}

Native Android - Play Billing (Coming Soon)

For apps using Google Play Billing Library directly. Expected release: Q2 2026.

Planned Integration

import com.influto.sdk.InfluTo;

// Initialize
InfluTo.initialize(context, "it_abc123...");

// Check attribution
Attribution attribution = InfluTo.checkAttribution();

if (attribution.isAttributed()) {
    Log.d("InfluTo", "User from: " + attribution.getReferralCode());

    // Include in purchase metadata
    // Details TBD based on Play Billing API
}

Requirements

React Native

  • React Native: 0.60.0 or higher
  • iOS: 13.0+
  • Android: API 21+ (Android 5.0)
  • RevenueCat: Any version
  • Expo: Supported (managed & bare workflows)

Flutter (Coming Soon)

  • Flutter: 3.0.0+ (planned)
  • Dart: 2.17.0+ (planned)

Package Sizes

PackageCompressedUnpacked
@influto/react-native-sdk20.7 KB92.3 KB
@influto/react-native-sdk/ui~5 KB (additional)~16 KB (additional)

Next Steps

After installation, proceed to the Quick Start Guide to initialize the SDK and start tracking attributions.