VoidhashDocs
DocumentationAPI reference
Dashboard
Get started
Introduction
Quickstart
Setup
Setup overview
Create a project
Products and perks
Paywall locations
CLI
Paywall components
Components
Develop a component
Editor panels
Component definition
Publishing
Installing and capabilities
Mobile SDKs
Swift
Kotlin
React Native
Store setup
Connect the App Store
Connect Google Play
API libraries
Node.js
PHP
Rust
Go
Resources
MCP server
Migrate in observer mode
Delete a person's data

Client SDKs

Choose the Voidhash client SDK for React Native, Swift, Kotlin, or the web.

Voidhash ships three client SDKs: one for React Native, one for Swift, and one for Kotlin. Each SDK adds entitlements, feature flags, analytics, and observer-mode transaction reporting to your app. In observer mode, the SDK watches the store transactions your existing billing integration makes and submits them to Voidhash for revenue analytics. It never takes ownership of billing away from your code. All three SDKs talk to the same project schema.

All three expose reportTransaction(...) for store values captured from the host billing SDK's successful purchase or restore result. syncPurchases() provides fallback scans when the host exposes no transaction values. Automatic observers and scans can miss purchases, especially consumables already finished or consumed by the host. See each SDK's purchase guide for integration examples and delivery limits. A valid report is persisted before it returns and delivered in the background, so a network or service outage delays reporting without interrupting the purchase flow.

The initial release is observer-only

SDK-started purchases and hosted paywalls are temporarily unavailable. The commerce implementations remain in the packages for a later launch, but the public clients cannot enable or invoke them yet.

Each SDK integrates with the store for its platform. The React Native SDK runs on iOS and Android and reaches StoreKit 2 and Google Play Billing through native modules. The Swift SDK runs on iOS and uses StoreKit 2. The Kotlin SDK runs on Android and uses Google Play Billing.

Pick your platform

React Native

Expo development builds and bare React Native apps on iOS and Android.

Swift

Native iOS apps with StoreKit 2. Requires iOS 15+.

Kotlin

Native Android apps with Google Play Billing. Requires minSdk 23+.

Web

Websites and web apps: page views, campaign attribution, and Stripe checkout.

Choose your platform above. Then connect a store in Store setup or Connect Google Play.

On this page

Pick your platform