Documentation Index
Fetch the complete documentation index at: https://docs.privacyboost.io/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the Privacy Boost React Native SDK in your project.Requirements
- React Native 0.71+
- iOS 15+ / Android API 26+
- Node.js 20+
- Xcode 15+ (for iOS builds)
Install
iOS Setup
After installing, run CocoaPods:PrivacyBoostReactNativeFramework.xcframework
vendored via the podspec — no extra Xcode configuration is needed.
Android Setup
Auto-linked. The package ships prebuilt Rust static libraries forarm64-v8a, armeabi-v7a, and x86_64. The Android Gradle build picks
them up via the CMake configuration shipped with the package.
If your app targets architectures outside that set (e.g. x86 for very old
emulators), you’ll need to build the SDK from source — see
Build from Source.
Verify Installation
Troubleshooting
pod install fails with “No such module ‘PrivacyBoostFFI’”
Clear the CocoaPods cache: cd ios && pod deintegrate && pod install.
Android build fails with “unable to find library libprivacy_boost_rn”
Your app’s ABI filters exclude the ones the SDK ships for. Either add
arm64-v8a / armeabi-v7a / x86_64 to abiFilters in android/app/build.gradle,
or build the SDK from source for your target ABI.
Next Steps
- Getting Started — Full setup and authentication guide
- API Reference — Complete API documentation
- Build from Source — Build and link the SDK locally