Skip to main content

React Native SDK

The Privacy Boost React Native SDK (@sunnyside-io/privacy-boost-react-native) wraps the Rust core via UniFFI-generated bindings, giving you a TypeScript surface backed by native iOS and Android binaries — no WebView, no JS-side proving.

Features

  • TypeScript-first API — same idioms as the web SDK, native execution
  • Promise-based — works with async/await, hooks, and any state library
  • Tagged-union SdkError for exhaustive runtime checks
  • Multi-chain via ChainContextHandle — operate on multiple chains from one identity
  • Construction-time errors for unsupported native persistence options
  • Identical core to TypeScript / iOS / Android SDKs (same proofs, same network protocol)

Installation

iOS requires a pod install; Android picks up the AAR automatically. See the installation guide for native setup details and any Hermes/Expo caveats.

Quick Example

Core Operations

Documentation

Getting Started

Guides

Advanced

Reference

Requirements

  • React Native 0.71+
  • iOS deployment target 14+
  • Android minSdkVersion 26+
  • Hermes or JSC (both supported)