Mobile SDK Installation

Pick the path that matches your app.

React Native

npm install @triplewhale/react-native-triple-pixel

iOS only, install the bundled pod:

cd ios && pod install

Pre-built native binaries for both Android and iOS are bundled with the package. No Gradle or Xcode edits required. React Native autolinking handles the wiring.

Requirements

React Native0.71+
Node18+
Android minSdk24 (Android 7.0)
iOS deployment target14.0

iOS (Swift): Swift Package Manager (recommended)

  1. File → Add Package Dependencies… in Xcode.
  2. Enter the package URL: https://github.com/Triple-Whale/triple-pixel-sdk-spm
  3. Dependency rule: Up to next major, 0.1.2.
  4. Add the TriplePixelSDK library to your target.

Or declaratively in Package.swift:

dependencies: [
    .package(
        url: "https://github.com/Triple-Whale/triple-pixel-sdk-spm",
        from: "0.1.2"
    )
]

Requirements

iOS deployment target14.0
Xcode14+

iOS (Swift): manual XCFramework

If your team can't use SPM, download TriplePixelSDK.xcframework.zip from the latest release, then:

  1. Unzip and drag TriplePixelSDK.xcframework into your Xcode project.
  2. Under your target → Frameworks, Libraries, and Embedded Content → set to Do Not Embed.

The framework is statically linked. Embedding it causes duplicate-symbol errors at archive time.

Android (Kotlin / Java)

In your app module's build.gradle.kts:

dependencies {
    implementation("com.triplewhale.pixel:shared:0.1.2")
}

Make sure mavenCentral() is in your project's repositories list (it is by default in modern Android projects).

Requirements

minSdk24 (Android 7.0)