Native Android SDK

Android software development is the process by which applications are created for devices running the Android operating system.

The latest Stable Version is V2.1

Let's Get your Android App running with FACEKI SDK

Requirements

In order to run the example project, you can change client_id and client_secret inside SdkSetting.kt

Android Studio provides the fastest tools for building apps on every type of Android device.

Kotlin Language

Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise. Wikipedia

Steps

  1. Install the Latest Android Studio and Kotlin Language

  2. To use Faceki API, you need to register any of Faceki packages on the link and then access Dashboard >> Integration >> Client-ID

  3. . Click on the hidden eyes and securely copy the Client ID (token).

Please don't share the token with anybody, highly secure and confidential

4. Edit this to your Project's Main build.gradle in repositories block

maven { url 'https://jitpack.io' }

"OR" put it in Settings.gradle in repositories block as follow:

dependencyResolutionManagement 
{
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories 
{
mavenCentral()
maven { url 'https://jitpack.io' }
}
}

5. Add this to your app level build.gradle android block.

compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }

     kotlinOptions {
         jvmTarget = '1.8'
     }

6. Add this to your app level build.gradle dependencies block

implementation 'com.github.faceki:KYC-Android-Native-V2:$Version'

Add this to your app level build.gradle defaultConfig block

minSdkVersion 24

7. Sync your project.

Refer to integration to register get the token and paste

8. Add the below code in your project file wherever you want to initialize sdk:

import com.facekikycverification.startup.FacekiVerification

Kotlin

var facekiVerification: FacekiVerification? = null
facekiVerification = FacekiVerification()
facekiVerification!!.initiateSMSDK(this, "YOUR_CLIENT_ID", "CLIENT-SECERT")

Java

FacekiVerification facekiVerification = null;
facekiVerification = new FacekiVerification();
facekiVerification.initiateSMSDK(this, "YOUR_CLIENT_ID", "CLIENT-SECERT");

Arabic Language

To disable the Arabic language, You can simply rename or delete this folder

 "/src/main/res/values-ar"

Edit Splash Screen

To change the Splash screen, just replace the image with your splash image here

"/src/main/res/drawable/splash.png"

API Response

To intercept with login, signup and KYC and SDK settings API response, you can make required changes in corresponding API calls in

"/faceki/src/main/java/com/facekikycverification/network/ApiCall.kt" file

Video Demonstration

Last updated