Pick the path that matches your app.
React Native
npm install @triplewhale/react-native-triple-pixeliOS only, install the bundled pod:
cd ios && pod installPre-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 Native | 0.71+ |
| Node | 18+ |
Android minSdk | 24 (Android 7.0) |
| iOS deployment target | 14.0 |
iOS (Swift): Swift Package Manager (recommended)
- File → Add Package Dependencies… in Xcode.
- Enter the package URL:
https://github.com/Triple-Whale/triple-pixel-sdk-spm - Dependency rule: Up to next major,
0.1.2. - Add the
TriplePixelSDKlibrary 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 target | 14.0 |
| Xcode | 14+ |
iOS (Swift): manual XCFramework
If your team can't use SPM, download TriplePixelSDK.xcframework.zip from the latest release, then:
- Unzip and drag
TriplePixelSDK.xcframeworkinto your Xcode project. - 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
minSdk | 24 (Android 7.0) |