Adding the MJCS API Dependency – GBG IDscan Documentation

Adding the MJCS API Dependency

Adding the MJCS API Dependency

Android Studio – Maven

From 8.1.0 version onwards, we only support the maven dependency approach.

NOTE: Please contact your technical account manager in order to obtain credentials for our protected maven repository at supportcase@idscan.com

Firstly, we need to add a link to the GBG IDscan maven repo in project “gradle.build”.

allprojects { 
	repositories {
		jcenter() 
		google() 
		maven {
			url "s3://maven-mobile-repo/releases" credentials(AwsCredentials) {
				// Other option is to change in “gradle.properties” file 
				accessKey awsAccessKey // Replace with your key 
				secretKey awsSecretKey // Replace with your secret key
			}
		}
	}
}

There are required dependencies that should be added to your project first.

dependencies {
	implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.21' 
	implementation 'com.idscan.ieos:mjcs:8.3.1'
	implementation 'com.idscan.ides:default-gbr-profile:1.16.1'
}
Was this page helpful?