This project provides a UsercentricsWrapper for integrating the Usercentrics SDK into iOS applications developed using LibGDX and MobiVM. The wrapper acts as a bridge between Java and the Usercentrics iOS SDK with handling SDK-related events via a delegate or callback.
Build the project to generate UsercentricsWrapper-Swift.h
Navigate to the project folder and run the following command in your terminal:
xcodebuild archive \
-scheme UsercentricsWrapper \
-destination "generic/platform=iOS" \
-archivePath ../output/UsercentricsWrapper \
SKIP_INSTALL=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
Add UsercentricsWrapper.framework
, UsercentricsUI.framework
, and Usercentrics.framework
into the project.
Copy the Resource Bundle into the project
Navigate to bro-gen folder and update or generate bindings for MobiVM