Skip to content

Pointzi Legacy for Android Support Libraries Integration

Due to the deprecation of Android’s Support Libraries new features will only be added to the AndroidX version of Pointzi. If you need any support on this version of Pointzi don’t hesitate in contacting us at .


  • Your App Version must be targeted for at least KitKat (4.4) and above
  • minSdkVersion version 19 and above.
  • Pointzi uses Java 1.8 features, please make sure your app uses it as well:
    android {
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
  • If you plan to use custom images please ensure you have one of the supported image libraries below:

    1. Glide > 3.x (4.x is supported on Android-X) [recommended]
    2. Picasso == 2.5.2
  • If you are using Proguard please ensure you follow the instructions here

Integration Steps

Include Pointzi repositories in your top level build.gradle for all projects.

allprojects {
    repositories {
        maven {
            url ""
        maven {
            url ""
Include Pointzi dependencies in your module/app level build.gradle.

dependencies {
    implementation "com.streethawk:pointzi:latest.release"
Add the following code in your application's launcher activity, replacing MyApp with the app_key from the dashboard.

Pointzi.INSTANCE.init(application,  "MyApp");

you can get application> through the getApplication() method or this, for example:

import com.streethawk.library.pointzi.Pointzi;

Pointzi.INSTANCE.init(getApplication(),  "MyApp");

We recommend you also send a unique ID for the user so you can "tag" users from backend system. This is called the cuid. To do this place the following snippet just after your registration and login calls.

//unique id in your system, for example customer's login id
If you use Proguard, please follow instructions in the Proguard configuation section below.

Having problems?

Please have a look at our troubleshooting guide.

Proguard configuration.

If you use Proguard, please follow instruction below.

Depending on your ProGuard config and usage, you may need to put the following lines into your file:

 ### -- Pointzi
 -keep class com.streethawk.library.pointzi.** { *;}
 -keep class com.streethawk.library.core.** { *;}

 #### -- Paper On Boarding
 -dontwarn com.ramotion.paperonboarding.R**
 -keepclassmembers class  com.ramotion.paperonboarding.** { *; }

# --- Retrofit2 ---
-dontnote retrofit2.Platform
-dontwarn retrofit2.Platform$Java8
-keepattributes Signature
-keepattributes Exceptions
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions
-keepattributes *Annotation*
-keepclasseswithmembers class * {
    @retrofit2.http.* <methods>;
-keepclassmembernames interface * {
        @retrofit.http.* <methods>;
# --- /Retrofit ---

# --- OkHttp + Okio ---
-dontwarn okhttp3.**
-dontwarn okio.**
# --- /OkHttp + Okio ---

# --- Gson ---
-keepattributes Signature
-keepattributes *Annotation*
-dontwarn sun.misc.**
-keep class** { *; }
-keep class * implements
-keep class * implements
-keep class * implements
-keepclassmembers enum * { *; }
# --- /Gson ---

 #### -- Apache Commons --
 -dontwarn org.apache.commons.logging.**

 #### -- Glide ---
 -keep class com.bumptech.glide.**
 -dontwarn com.bumptech.glide.**
 -keep public class * implements com.bumptech.glide.module.GlideModule
 -keep public class * extends com.bumptech.glide.module.AppGlideModule
 -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
    **[] $VALUES;
    public *;

Pointzi includes Glide image library dependency

compile 'com.github.bumptech.glide:glide:4.1.1'