# Add PinchSDK

# Prerequisites

The following criterias must be fulfilled to implement the SDK:

  • Minimum SDK version: 15
  • Android Jetpack artifacts (AndroidX)
  • Must be compiled with Java 8+
Latest Update Current Stable Release
March 8, 2023 2.7.8

# Gradle Configuration

# Reference repository

PinchSDK for Android is hosted on a non-public repository and has to be added manually.

Open your projects build.gradle script and add the repository hosting the SDK:

# Enable Java 8 byte code

If your project is not targeting or compiled with Java 8+, you have to edit your applications build.gradle to do so:

# Import PinchSDK

Add the SDK as a dependency to the applications build.gradle:

# Add API Key


A runtime exception will be thrown if API key is missing during application launch.

In AndroidManifest.xml, add the following element as a child of the <application> element, by inserting it just before the closing </application> tag:

If your project utilizies ProGuard, add the following exception to your ProGuard definition:

-keep class com.fluxloop.pinch.core.model.** { *; }
-keep class com.fluxloop.pinch.common.model.** { *; }