Getting Started

circle-info

Download the latest version of the SDK herearrow-up-right

The SDK file should be in libs folder of project, then it can be added to build.gradle file of the project like below.

implementation files('libs/paycontactlesscustomersdk.embed-debug.aar')
circle-info

Minimum Requirements

  • Android SDK Version: API 21 (Lollipop) and above

  • Gradle Version: 7.0+

Dependencies

SDK needs some third party libraries and the integrator app must have these dependencies. The libraries which is shared below should be added to the build.gradle file.

dependencies {     
   // Koin
    implementation "io.insert-koin:koin-android:3.5.3"
    implementation "io.insert-koin:koin-core:3.5.3"
    
    // Lottie
    implementation "com.airbnb.android:lottie:3.4.0"
   
    // Rx
    implementation "io.reactivex.rxjava2:rxjava:2.2.6"
    implementation "io.reactivex.rxjava2:rxandroid:2.1.1"

    // Networking
    implementation "com.squareup.retrofit2:retrofit:2.9.0"
    implementation "com.squareup.retrofit2:converter-gson:2.9.0"
    implementation "com.squareup.retrofit2:adapter-rxjava2:2.9.0"
    implementation "com.squareup.okhttp3:okhttp:4.12.0"
    implementation "com.squareup.okhttp3:logging-interceptor:4.10.0"
    
    //Google Play Service
    implementation "com.google.android.gms:play-services-base:18.5.0"

    // Moxy
    implementation "com.github.moxy-community:moxy-androidx:2.2.2"
    implementation "androidx.legacy:legacy-support-v4:1.0.0"
    kapt "com.github.moxy-community:moxy-compiler:2.2.2"

    //Security
    implementation "androidx.security:security-crypto:1.0.0"
    implementation "androidx.core:core-ktx:1.8.0"
    implementation "com.google.android.play:integrity:1.4.0"

    //BarCode
    implementation "com.journeyapps:zxing-android-embedded:4.3.0"

    // Glide
    implementation "com.github.bumptech.glide:glide:4.14.2"
    annotationProcessor "com.github.bumptech.glide:compiler:4.14.2"

    // Room
    implementation "androidx.room:room-runtime:2.6.1"
    annotationProcessor "androidx.room:room-compiler:2.6.1"

    // SQLCipher
    implementation "net.zetetic:android-database-sqlcipher:4.5.0"

    // Gson
    implementation "com.google.code.gson:gson:2.10.1"

} 
circle-exclamation

Last updated