This is the new Lenddo Android SDK
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
gradle/wrapper Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
lenddosdk Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
mobiledata_demo
mobiledatacollectiondemo Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
onboarding_demo Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
wiki Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
.gitignore Update docs (#11) Feb 17, 2018
LenddoSDKGithub.iml initial commit Mar 15, 2017
README.md Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
build.gradle Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019
findbugs-android-exclude.xml initial commit Mar 15, 2017
gradle.properties Release/v1.6.0 (#24) Jul 11, 2018
gradlew initial commit Mar 15, 2017
gradlew.bat
local.properties
settings.gradle Feature/mo 1534 update sdk v2.0 (#33) Feb 1, 2019

README.md

Android Lenddo SDK

Table of Contents

Introduction

The Lenddo SDK (lenddosdk module) allows you to collect information in order for LenddoEFL to verify the user's information and enhance its scoring capabilities. The Lenddo SDK connects to user's social networks and also collects information and mobile data in the background and can be activated as soon as the user has downloaded the app, granted permissions and logged into the app.

Pre-requisites

Make sure you have Android Studio properly setup and installed, please refer to the Google Developer site for the instructions Android Studio Download and Installation Instructions. Use API28 Build tools as minimum.

Before incorporating the Lenddo SDK into your app, you should be provided with the following information:

  • Partner Script ID

Please ask for the information above from your LenddoEFL representative. If you have a dashboard account, these values can also be found there.

There may be also other partner specific values that you are required to set.

Installing the Lenddo SDK

  1. Add the JitPack repository to your build file
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. Add the dependency
dependencies {
    implementation 'com.github.lenddo.android-lenddo:lenddosdk:v2.0.0'
}
  1. Sync Gradle

Adding the Lenddo Credentials

In your applications AndroidManifest.xml file, inside the application key, add the following metadata:

<!-- partner script id is mandatory -->
<meta-data android:name="partnerScriptId" android:value="@string/partner_script_id" />

Or if you wish to have separate partner script id on each module (Data, Onboarding, and VerifiMe), you would have to declare a partnerScriptId tag for each.

<!-- partner script id for Mobile Data collection  -->
<meta-data android:name="dataPartnerScriptId" android:value="@string/data_partner_script_id" />

<!-- partner script id for Social Network onboarding -->
<meta-data android:name="onboardingPartnerScriptId" android:value="@string/onboarding_partner_script_id" />

<!-- partner script id for Document Verification with Verifi.Me -->
<meta-data android:name="verifiMePartnerScriptId" android:value="@string/verifi_me_partner_script_id" />

In your strings.xml put your partnerscript_id resource string.

<string name="partner_script_id">ASK_YOUR_LENDDO_REPRESENTATIVE_FOR_THIS_VALUE</string>
<!--individual partner script id-->
<string name="data_partner_script_id">ASK_YOUR_LENDDO_REPRESENTATIVE_FOR_THIS_VALUE</string>
<string name="onboarding_partner_script_id">ASK_YOUR_LENDDO_REPRESENTATIVE_FOR_THIS_VALUE</string>
<string name="verifi_me_partner_script_id">ASK_YOUR_LENDDO_REPRESENTATIVE_FOR_THIS_VALUE</string>

Initializing Lenddo SDK

In your Application class initialize Lenddo core info as shown below

package com.sample.app;

import android.support.multidex.MultiDexApplication;

import com.lenddo.mobile.core.LenddoCoreInfo;

public class  SampleApp extends MultiDexApplication {
   @Override
   public void onCreate() {
       super.onCreate();
       LenddoCoreInfo.initCoreInfo(getApplicationContext());

       // do other Lenddo stuff after init
   }
}

Running the Demo Applications

To see how to use the demo applications, click this link.

Lenddo Mobile Data Collection

For mobile data collection guide, click this link.

Connecting Social Networks and eKYC

For onboarding your Social Networks accounts with LenddoEFL and using the eKYC feature, click this link.