Android SDK - Technical Guide
Overview
This document helps developers to integrate the Cardknox Payments SDK with an Android app project using the gradle build system.
Technical Overview
The SDK is distributed as an
.aar
SDK expects to be provided the
androidx.cardview
package externally, such as via the gradle ruleimplementation 'androidx.cardview:cardview:1.0.0'
App launch specifics:
AndroidManifest.xml
file registers amono.MonoRuntimeProvider
ContentProvider
, responsible for loading the Mono runtime on app launch
Supported architectures:
arm64-v8a
Package name is
cardknox.payments.sdk
Getting started
To start:
Add the obtained
aar
file to yourAndroid Studio
project, for example into theapp
modulelibs
folder; and register the.aar
in the app'sbuild.gradle
Provide the
androidx.cardview
dependency either explicitly or as a transitive dependency of some other package, such ascom.google.android.material
LogCat logging
To capture Cardknox SDK Logcat logs, create a new Logcat filter with the following tag:
(Cardknox_DroidSDKLogger|IDT_Event)
Last updated