Installation Guide

Android

The SDK can be used/loaded over the dependencies from our maven repository.

You will get the mandatory data like username, password and CustomerProfileServiceSdkVersion within the delivery of the SDK.

To use the SDK, you need to add two things to your project:

  1. Project build.gradle
    allprojects {
    repositories {
    ...
    maven {
    url "https://nexus.gk-software.com/nexus/repository/mca_sdk"
    credentials {
    username = "username"
    password = "password"
    }
    }
    }
    }
  2. App build.gradle
dependencies {
...
implementation 'com.gk-software:CustomerProfilServiceSdk:CustomerProfileServiceSdkVersion'
...
}

iOS

  1. Drag and drop the framework folder into the project
  2. The following third-party library needs to be included in the projects.

    cocoapods:

    SecureDefaults
  3. Under General in the project settings, the CustomerProfileServiceSDK.xcframework needs to be linked under 'Frameworks, Libraries and Embedded Content' and embedded and signed.
  4. Import the SDK in your swift files.
    import CustomerProfileServiceSDK