Intro to the Triple Pixel Mobile SDK

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

PlatformPackageRegistryLink
Android (native)com.triplewhale.pixel:sharedMaven Centralcentral.sonatype.com
iOS (native)TriplePixelSDK (Swift Package)Swift Package Managergithub.com/Triple-Whale/triple-pixel-sdk-spm
React Native@triplewhale/react-native-triple-pixelnpmnpmjs.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 / UNKNOWN states (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

PlatformMinimum
AndroidAPI 24 (Android 7.0)
iOS14.0
React Native0.71+
Node18+

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.

License

MIT License