LogoLogo
Developer Hub
Developer Hub
  • 📍Documentation
    • 🏂Onboarding
  • PayContactless
    • PayContactless Embed
  • 📱MERCHANT EMBED SDK
    • PayContactless Embed SDK
      • Getting Started
      • SDK API Reference
        • Initialize
        • Pay With Card
          • Sale
          • Refund
          • Pre&Post Auth
        • Pay With Link
        • Pay With Account
        • Transactions History
        • Transactions Detail
        • Send Receipt
        • Daily Transactions Summary
        • Error Handling
    • Security Mechanisms
    • Production Preparation
      • Play Integrity Configuration
      • Firebase Crashlytics Configuration
      • Firebase Push Notification Configuration
  • 📱CUSTOMER ACCOUNT BASE EMBED SDK
    • Account Base Embed SDK
      • Getting Started
      • SDK API Reference
  • 💻BACKEND INTEGRATION
    • API Specification
  • 🔐Security
Powered by GitBook
On this page
  1. CUSTOMER ACCOUNT BASE EMBED SDK
  2. Account Base Embed SDK

Getting Started

PreviousAccount Base Embed SDKNextSDK API Reference

Last updated 4 days ago

Download the latest version of the SDK

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')

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"

} 

In order to support schemas' branding animations, jetifier tools must be enabled on your project. The following configuration must be added on your gradle.properties file.

# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

📱
here