Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 24 additions & 15 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ <h2 id="android-integration-files-and-requirements">Android Integration Files an
<tbody>
<tr>
<td><strong>SDK Filename</strong></td>
<td>fraudforce-lib-release-5.2.2.aar</td>
<td>fraudforce-lib-release-5.3.0.aar</td>
</tr>
<tr>
<td><strong>Version</strong></td>
<td>5.2.2</td>
<td>5.3.0</td>
</tr>
<tr>
<td><strong>Package</strong></td>
<td>com.iovation.mobile.android.FraudForce</td>
</tr>
<tr>
<td><strong>Android SDK Dependencies</strong></td>
<td>Android SDK 5.0 or higher (SDK level 21)</td>
<td>Android SDK 7.0 or higher (SDK level 24)</td>
</tr>
<tr>
<td><strong>Library Dependencies</strong></td>
Expand All @@ -56,7 +56,7 @@ <h2 id="android-integration-files-and-requirements">Android Integration Files an
</tr>
<tr>
<td></td>
<td>GET_ACCOUNTS, ACCESS_NETWORK_STATE</td>
<td>GET_ACCOUNTS, ACCESS_NETWORK_STATE, DETECT_SCREEN_RECORDING</td>
</tr>
<tr>
<td><strong>Supported NDK Architectures</strong></td>
Expand All @@ -70,18 +70,18 @@ <h2 id="android-integration-files-and-requirements">Android Integration Files an
<p><strong>NOTE</strong> If the permissions listed are not required by the application, the values collected using those permissions will be ignored. The permissions are not required to obtain a usable blackbox, but they do help obtain some unique device information.</p>
<p><strong>NOTE</strong> Android 10 introduced the ACCESS_BACKGROUND_LOCATION permission, protected at the dangerous level as is the case for ACCESS_FINE_LOCATION. Refer to the official Android documentation for when to incorporate this permission.</p>
</blockquote>
<p>Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.</p>
<p>Version 5.3.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.</p>
<h2 id="installing-the-device-risk-sdk-for-android">Installing the Device Risk SDK for Android</h2>
<ol>
<li><p>Download iovation-android-sdk-5.2.2.zip from here: <a href="https://github.com/iovation/deviceprint-SDK-Android">iovation Mobile SDK for Android</a>. </p>
<li><p>Download iovation-android-sdk-5.3.0.zip from here: <a href="https://github.com/iovation/deviceprint-SDK-Android">iovation Mobile SDK for Android</a>. </p>
</li>
<li><p>Unzip iovation-android-sdk-5.2.2.zip.</p>
<li><p>Unzip iovation-android-sdk-5.3.0.zip.</p>
</li>
<li><p>Depending on your IDE, do one of the following:</p>
<ul>
<li><p>In <strong>Maven</strong>, deploy the AAR file to your local Maven repository, using maven-deploy. For more information, see <a href="http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html">Guide to installing 3rd party JARs</a>.</p>
</li>
<li><p>If you are using <strong>Gradle</strong>, add the <em>fraudforce-lib-release-5.2.2.aar</em> file to your application module&#39;s libs directory. Then, edit the <em>build.gradle</em> file in order to add the libs directory as a flat-file repository to the <code>buildscript</code> and <code>repository</code> sections. This makes the fraudforce-lib-release-5.2.2.aar file accessible to Gradle.</p>
<li><p>If you are using <strong>Gradle</strong>, add the <em>fraudforce-lib-release-5.3.0.aar</em> file to your application module&#39;s libs directory. Then, edit the <em>build.gradle</em> file in order to add the libs directory as a flat-file repository to the <code>buildscript</code> and <code>repository</code> sections. This makes the fraudforce-lib-release-5.3.0.aar file accessible to Gradle.</p>
<pre><code> <span class="hljs-section">buildscript</span> {
<span class="hljs-section">repositories</span> {
<span class="hljs-section">flatDir</span> {
Expand All @@ -95,25 +95,25 @@ <h2 id="installing-the-device-risk-sdk-for-android">Installing the Device Risk S
<span class="hljs-attribute">dirs</span> <span class="hljs-string">'libs'</span>
}
}
</code></pre><p> Also in the application module&#39;s <code>build.gradle</code> file, make sure that fraudforce-lib-release-5.2.2 is included as a dependency:</p>
</code></pre><p> Also in the application module&#39;s <code>build.gradle</code> file, make sure that fraudforce-lib-release-5.3.0 is included as a dependency:</p>
<pre><code> <span class="hljs-selector-tag">dependencies</span> {
...
<span class="hljs-selector-tag">implementation</span>(<span class="hljs-attribute">name</span>:<span class="hljs-string">'fraudforce-lib-release-5.2.2'</span>, <span class="hljs-attribute">ext</span>:<span class="hljs-string">'aar'</span>)
<span class="hljs-selector-tag">implementation</span>(<span class="hljs-attribute">name</span>:<span class="hljs-string">'fraudforce-lib-release-5.3.0'</span>, <span class="hljs-attribute">ext</span>:<span class="hljs-string">'aar'</span>)
}
</code></pre><p> Alternatively, you can include the dependency without exposing your libs folder as a repository by declaring it in the module&#39;s <code>build.gradle</code> file as follows:</p>
<pre><code> dependencies {
...
<span class="hljs-keyword">implementation</span> files(<span class="hljs-string">'libs/fraudforce-lib-release-5.2.2.aar'</span>)
<span class="hljs-keyword">implementation</span> files(<span class="hljs-string">'libs/fraudforce-lib-release-5.3.0.aar'</span>)
}
</code></pre><p> Save the <code>build.gradle</code> file.</p>
</li>
</ul>
</li>
<li><p>If you are not already using Java 8 in your project, please include the following code into your application&#39;s &#39;build.gradle&#39; file.</p>
<li><p>If you are not already using Java 11 in your project, please include the following code into your application&#39;s &#39;build.gradle&#39; file.</p>
<pre><code> android {
compileOptions {
sourceCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_1_8</span>
targetCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_1_8</span>
sourceCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_11</span>
targetCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_11</span>
}
}
</code></pre></li>
Expand Down Expand Up @@ -275,7 +275,7 @@ <h2 id="network-calls">Network Calls</h2>
<h2 id="compiling-the-sample-app-in-android-studio">Compiling The Sample App in Android Studio</h2>
<p>1 In Android Studio, select File | Open or click <strong>Open Existing Android Studio Project</strong> from the quick-start screen.</p>
<ol>
<li><p>From the directory where you unzipped fraudforce-lib-release-5.2.2.zip or cloned the repo, open the <strong>android-studio-sample-app</strong> directory.</p>
<li><p>From the directory where you unzipped fraudforce-lib-release-5.3.0.zip or cloned the repo, open the <strong>android-studio-sample-app</strong> directory.</p>
</li>
<li><p>In the project navigation view, open <code>app/src/main/java/com/iovation/mobile/android/sample/MainActivity.java</code> to run the Java sample app. To run the Kotlin sample app, open <code>kotlinApp/src/main/java/com/iovation/mobile/android/sample/MainActivity.kt</code>.</p>
</li>
Expand All @@ -292,6 +292,15 @@ <h2 id="compiling-the-sample-app-in-android-studio">Compiling The Sample App in
</li>
</ol>
<h2 id="changelog">Changelog</h2>
<h3 id="5-3-0">5.3.0</h3>
<ul>
<li><strong>Java 11 is now required.</strong></li>
<li><strong>The SDK has updated Kotlin (2.0.20).</strong></li>
<li>Minimum SDK version supported is now 24.</li>
<li>Update target SDK to 35.</li>
<li>Adjusted collection details./li>
<li>Additional optional permission.</li>
</ul>
<h3 id="5-2-2">5.2.2</h3>
<ul>
<li>Bug fix to handle abstract method exception.</li>
Expand Down
38 changes: 23 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati

| | |
|---------------------------------|--------------------------------------------------------------------------------------------------------|
| **SDK Filename** | fraudforce-lib-release-5.2.2.aar |
| **Version** | 5.2.2 |
| **SDK Filename** | fraudforce-lib-release-5.3.0.aar |
| **Version** | 5.3.0 |
| **Package** | com.iovation.mobile.android.FraudForce |
| **Android SDK Dependencies** | Android SDK 5.0 or higher (SDK level 21) |
| **Android SDK Dependencies** | Android SDK 7.0 or higher (SDK level 24) |
| **Library Dependencies** | None |
| **Required Permissions** | None |
| **Optional Permissions** | BLUETOOTH (up to Android 11), BLUETOOTH_CONNECT (starting on Android 12), CAMERA, ACCESS\_WIFI\_STATE, |
| | READ\_PHONE\_STATE, ACCESS\_FINE\_LOCATION, ACCESS\_BACKGROUND\_LOCATION, |
| | GET\_ACCOUNTS, ACCESS\_NETWORK\_STATE |
| | GET\_ACCOUNTS, ACCESS\_NETWORK\_STATE, DETECT\_SCREEN\_RECORDING |
| **Supported NDK Architectures** | x86, x86_64, arm64-v8a, armeabi-v7a |

> __NOTE__ Android 12 introduced the BLUETOOTH_CONNECT permission, protected at the dangerous level. Refer to the [official Android documentation](https://developer.android.com/about/versions/12/features/bluetooth-permissions) on how to include it.
Expand All @@ -37,19 +37,19 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati

> __NOTE__ Android 10 introduced the ACCESS_BACKGROUND_LOCATION permission, protected at the dangerous level as is the case for ACCESS_FINE_LOCATION. Refer to the official Android documentation for when to incorporate this permission.

Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
Version 5.3.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.

## Installing the Device Risk SDK for Android

1. Download iovation-android-sdk-5.2.2.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android). 
1. Download iovation-android-sdk-5.3.0.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android). 

2. Unzip iovation-android-sdk-5.2.2.zip.
2. Unzip iovation-android-sdk-5.3.0.zip.

3. Depending on your IDE, do one of the following:

- In __Maven__, deploy the AAR file to your local Maven repository, using maven-deploy. For more information, see [Guide to installing 3rd party JARs](http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html).

- If you are using __Gradle__, add the *fraudforce-lib-release-5.2.2.aar* file to your application module's libs directory. Then, edit the *build.gradle* file in order to add the libs directory as a flat-file repository to the `buildscript` and `repository` sections. This makes the fraudforce-lib-release-5.2.2.aar file accessible to Gradle.
- If you are using __Gradle__, add the *fraudforce-lib-release-5.3.0.aar* file to your application module's libs directory. Then, edit the *build.gradle* file in order to add the libs directory as a flat-file repository to the `buildscript` and `repository` sections. This makes the fraudforce-lib-release-5.3.0.aar file accessible to Gradle.

```
buildscript {
Expand All @@ -66,12 +66,12 @@ Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.
}
}
```
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.2.2 is included as a dependency:
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.3.0 is included as a dependency:

```
dependencies {
...
implementation(name:'fraudforce-lib-release-5.2.2', ext:'aar')
implementation(name:'fraudforce-lib-release-5.3.0', ext:'aar')
}
```

Expand All @@ -80,18 +80,18 @@ Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.
```
dependencies {
...
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
implementation files('libs/fraudforce-lib-release-5.3.0.aar')
}
```

Save the `build.gradle` file.

4. If you are not already using Java 8 in your project, please include the following code into your application's 'build.gradle' file.
4. If you are not already using Java 11 in your project, please include the following code into your application's 'build.gradle' file.
```
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
```
Expand Down Expand Up @@ -292,7 +292,7 @@ The SDK includes the ability to make a network call to TransUnion TruValidate's

1 In Android Studio, select File | Open or click **Open Existing Android Studio Project** from the quick-start screen.

2. From the directory where you unzipped fraudforce-lib-release-5.2.2.zip or cloned the repo, open the **android-studio-sample-app** directory.
2. From the directory where you unzipped fraudforce-lib-release-5.3.0.zip or cloned the repo, open the **android-studio-sample-app** directory.

3. In the project navigation view, open `app/src/main/java/com/iovation/mobile/android/sample/MainActivity.java` to run the Java sample app. To run the Kotlin sample app, open `kotlinApp/src/main/java/com/iovation/mobile/android/sample/MainActivity.kt`.

Expand All @@ -307,6 +307,14 @@ The SDK includes the ability to make a network call to TransUnion TruValidate's
6. When the app compiles successfully, you will see a view with a button that allows you to display a blackbox.

## Changelog
### 5.3.0
- **Java 11 is now required.**
- **The SDK has updated Kotlin (2.0.20).**
- Minimum SDK version supported is now 24.
- Update target SDK to 35.
- Adjusted collection details.
- Additional optional permission.

### 5.2.2
- Bug fix to handle abstract method exception.

Expand Down
13 changes: 7 additions & 6 deletions android-studio-sample-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ android {

defaultConfig {
applicationId "com.iovation.mobile.android.sample.sampleapp"
minSdkVersion 21
namespace "com.iovation.mobile.android.sample.sampleapp"
minSdkVersion 24
targetSdkVersion 33
versionCode 14
versionName "5.2.2"
versionCode 15
versionName "5.3.0"
}
buildTypes {
release {
Expand All @@ -20,13 +21,13 @@ android {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
implementation files('libs/fraudforce-lib-release-5.3.0.aar')
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
}
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions android-studio-sample-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
classpath 'com.android.tools.build:gradle:8.9.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Mar 30 14:27:27 EDT 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion android-studio-sample-app/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions android-studio-sample-app/kotlinApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ android {

defaultConfig {
applicationId "com.iovation.mobile.android.sample.kotlinApp"
minSdk 21
namespace "com.iovation.mobile.android.sample.kotlinApp"
minSdk 24
targetSdk 34
versionCode 14
versionName "5.2.2"
versionCode 15
versionName "5.3.0"
}

buildTypes {
Expand All @@ -21,11 +22,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '11'
}

buildFeatures {
Expand All @@ -35,6 +36,6 @@ android {

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
implementation files('libs/fraudforce-lib-release-5.3.0.aar')
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
}
Binary file not shown.
Binary file not shown.
Binary file removed fraudforce-lib-release-5.2.2.aar
Binary file not shown.
Binary file added fraudforce-lib-release-5.3.0.aar
Binary file not shown.
7 changes: 6 additions & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
### What's new
- Bug fix to handle abstract method exception.
- **Java 11 is now required.**
- **The SDK has updated Kotlin (2.0.20).**
- Minimum SDK version supported is now 24.
- Update target SDK to 35.
- Adjusted collection details.
- Additional optional permission.