Getting Started
Our PICTOFiT SDK enables you to integrate features like virtual try-on (mix & match), capturing of personalised avatars, AR & 3D viewing, etc. into your application. The SDK already comes with a set of sample resources for you to explore the functionality.

All data needs to be hosted by the customer as Reactive Reality doesn’t provide any hosting. Therefore, assets generated by the PICTOFiT Content Service must be transferred to your backend/CDNs.
Prerequisites
Apps using PictofitCore require:
Android 7.0 (API level 24) or later
Android Studio 4.0.x
Installation
The PictofitCore library for Android is distributed as a maven package via a public gitlab repository.
To be able to access the package in your application, modify your app/build.gradle
as following:
dependencies {
// add the Pictofit dependency
implementation("com.reactivereality:pictofitcore-android-sdk:MAJOR.MINOR.PATCH")
}
// add the reactive reality maven repository
repositories {
maven {
name "Reactive Reality GitLab"
url "https://gitlab.com/api/v4/projects/26449469/packages/maven"
}
}
Now sync your gradle files and you will be able to access all Pictofit classes in your code.
After you successfully imported the library, add PictofitCore.init()
preferably to your Application
class to initialise the native core, as seen below:
class MainApplication : Application() {
override fun onCreate() {
super.onCreate()
PictofitCore.init(this)
}
}
Sample Repository
Throughout the different sections of the documentation, you’ll find samples showing how to implement the described functionality. All of these samples can be found in our sample repository.