In case you wish to report an issue, we provide a dedicated page specifically for this purpose. By accessing the provided link and submitting a ticket our team will address your concerns with the utmost efficiency, ensuring a prompt resolution.
You are now one step closer to make privacy a core feature in your application. We are very happy that you decided to make this a priority. We are here to help you build trust with your users.
The Usercentrics Apps SDK is a native Consent Management Platform solution for mobile apps, mobile games & TV applications, that enables the collection, documentation, and management of your user's privacy choices, in order to ensure legal compliance for legal regulations around the world.
- Android 5.0 (API 21) or higher
- iOS 11 or higher
- Node.js 18.0+ (LTS recommended)
- npm 9.0+ or Yarn 1.22+
- TypeScript 5.1+
- React 18.2+
- React Native 0.74.3+ (with Fabric support)
- Java 17+ (OpenJDK or Oracle JDK)
- Android SDK with API 33+ platforms
- Android NDK 25+
- Gradle 8.2+
- Kotlin 1.9.22+
- Android Gradle Plugin 8.2+
- Xcode 15.0+ with iOS SDK
- CocoaPods 1.12+
- iOS Simulators (recommended)
- Watchman (for better file watching)
- Git (for version control)
- SDKMan (for Java version management)
In order to use and test the SDK, you will need a Usercentrics Account. Get started with a free trial.
Continue to our documentation for a step by step integration guide.
See the example directory for a complete sample app using Usercentrics.
The easiest way to get started is using our automated setup script:
# Check your development environment
npm run check-requirements
# Automatically install missing dependencies
npm run auto-setup
# Verify everything is ready
npm run check-requirements
# Install all dependencies
npm run install-dependencies
# Run Android app
npm run run-android
# Run iOS app (macOS only)
npm run ios
- From root folder:
npm install --legacy-peer-deps
- From example folder:
npm install --legacy-peer-deps
From example folder:
npx pod-install
npx react-native run-ios
Make sure you have Android SDK configured, then from example folder:
npx react-native run-android
Script | Description |
---|---|
npm run auto-setup |
π€ Automatically install all required dependencies |
npm run check-requirements |
π Check development environment requirements |
npm run clean-all-caches |
π§Ή Clean all project and system caches |
npm run install-dependencies |
π¦ Install dependencies in root and example folders |
npm run run-android |
π€ Kill conflicting ports and run Android app |
If you encounter issues:
- Check Requirements:
npm run check-requirements
- Clean & Reinstall:
npm run clean-all-caches && npm run install-dependencies
- Auto Setup:
npm run auto-setup
(installs missing tools) - Manual Setup: Follow the detailed error messages from check-requirements
The project includes intelligent scripts that will:
- β Detect your operating system (macOS/Linux)
- β Check for required tools and versions
- β Install missing dependencies automatically
- β Configure environment variables
- β Apply necessary patches
- β Verify the setup works correctly
You can enable and run the Consent Mediation example in this example by following the documentation.