# 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 |
---|---|
September 28, 2020 | 2.5.1 |
# Install PinchSDK NuGet
- Add NuGet source:
https://pkgs.dev.azure.com/fluxloopas/PinchSDK/_packaging/PinchSDK/nuget/v3/index.json
- Add
Pinch.Sdk.Android
to your project
# Add API Key
IMPORTANT
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.** { *; }
1
2
2