Official client SDKs and implementation examples for the Axeptio Headless Consent Management Platform.
This repository contains client-side implementations for integrating Axeptio's consent management solution into mobile and web applications.
- React Native: Implemented with working example
- iOS: Coming soon
- Android: Coming soon
- Flutter: Coming soon
- Axeptio account with API access
- Project ID from your Axeptio dashboard
- Development environment for your target platform
cd examples/react-native
npm install
npm startSee the React Native example for a complete working implementation.
- React Native Guide
- iOS Integration Guide (coming soon)
- Android Integration Guide (coming soon)
- Flutter Guide (coming soon)
headless-cmp-client/
├── docs/
│ ├── getting-started/ # Quick start and setup guides
│ └── platform-guides/ # Platform-specific integration docs
├── examples/ # Working example applications
│ ├── android/ # Coming soon
│ ├── flutter/ # Coming soon
│ ├── ios/ # Coming soon
│ └── react-native/ # Working implementation
└── sdks/ # SDK source code (coming soon)
- Present consent interfaces
- Capture user preferences
- Handle granular consent choices
- Support for multiple consent types (cookies, processing, contracts)
- Check current consent status
- Retrieve consent history
- Verify consent validity
- Handle consent expiration
The client SDKs interact with these primary endpoints:
POST /mobile/consents/{clientId}/{collection}/{configId}- Submit consentGET /mobile/consents/{projectId}- Retrieve consent statusGET /mobile/configurations/{projectId}- Get project configuration
# Clone the repository
git clone https://github.com/axeptio/headless-cmp-client.git
cd headless-cmp-client
# For React Native example
cd examples/react-native
npm installThis project is licensed under the MIT License - see the LICENSE file for details.