The Triple Pixel Mobile SDK powers first-party event tracking, attribution, and consent management for mobile commerce apps that report into Triple Whale.
One shared API ships to three platforms. Install the package that matches your stack and call the same methods from native or React Native code.
Distribution
| Platform | Package | Registry | Link |
|---|---|---|---|
| Android (native) | com.triplewhale.pixel:shared | Maven Central | central.sonatype.com |
| iOS (native) | TriplePixelSDK (Swift Package) | Swift Package Manager | github.com/Triple-Whale/triple-pixel-sdk-spm |
| React Native | @triplewhale/react-native-triple-pixel | npm | npmjs.com |
What you get
- Page-view tracking with optional product context.
- Add-to-cart events.
- Contact capture: email or phone.
- Full checkout funnel: checkout started, address, contact, shipping, payment, and purchase events.
- Consent API with opt-out defaults and explicit
GRANTED/DENIED/UNKNOWNstates (GDPR-friendly). - Persistent anonymous user ID that survives app restarts.
- Automatic retry with exponential backoff: up to 5 attempts on transient network errors.
Supported versions
Current SDK version: 0.1.2
| Platform | Minimum |
|---|---|
| Android | API 24 (Android 7.0) |
| iOS | 14.0 |
| React Native | 0.71+ |
| Node | 18+ |
Versioning
The SDK follows Semantic Versioning. Until version 1.0.0, minor releases may contain breaking changes. From 1.0.0 onward, breaking changes will only ship in major releases.