Suported versions

Platform Suported versions
Android 8.0.0+

Add Ironchip Location Based Fraud SDK

Add our library in other projects

First, on the setting.gradle file, reference the remote repository where the library is located.

dependencyResolutionManagement {
    ...

    repositories {
        maven {
            url "https://nexus6.kydom.net/repository/public-libraries/"
        }
        ...
    }
}

Then, inside the gradle.build file, add the dependency to the sdk.


dependencies {
    ...
    implementation "com.ironchip:lbfraudandroidsdk:1.0.0"
    ...
}

Add Permissions to Manifest

In order to use the library correctly, it will be necessary for your application’s manifest to contain the following permissions and also ask the user for location permission:

  • ACCESS_COARSE_LOCATION
  • ACCESS_FINE_LOCATION
  • READ_PHONE_STATE
  • ACCESS_NETWORK_STATE
  • ACCESS_WIFI_STATE
  • CHANGE_NETWORK_STATE
  • CHANGE_WIFI_STATE
  • INTERNET

Add those permissions to your application

Example Manifest

<manifest xmlns:android="" package="##############">

<application android:allowBackup="true" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"/>

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />

</manifest>