@usercentrics/react-native-sdk
v2.18.3
Published
Usercentrics SDK
Downloads
17,475
Maintainers
Keywords
Readme
Usercentrics
Already a customer?
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.
Welcome!
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
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.
Requirements
- Android 5.0 (API 21) or higher with Kotlin 1.5 or higher
- iOS 11 or higher
- React 17.0 or higher
- React Native 0.65 or higher
- Node 14
Get started!
In order to use and test the SDK, you will need a Usercentrics Account. Get started with a free trial.
Integration
Continue to our documentation for a step by step integration guide.
Example
See the example directory for a complete sample app using Usercentrics.
Sample Project
To run the sample project, you will need to run npm install from both root and example folders:
From root folder:
npm install
From example folder:
npm install
iOS
From example folder:
npx pod-install npx react-native run-ios
Android
Open the android folder using Android Studio in order to create essential files then run from example folder:
npx react-native run-android
Consent Mediation
You can enable and run the Consent Mediation example in this example by following the documentation.