Skip to content

Commit c115c21

Browse files
authored
Release/5.3.0 (#32)
* *updated namespace for app modules * *5.3.0 release * *gradlew update * *update gradle and kotlin plugin versions * *update gradle wrapper properties to use new gradle distribution
1 parent 8ca35e9 commit c115c21

14 files changed

+72
-48
lines changed

README.html

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ <h2 id="android-integration-files-and-requirements">Android Integration Files an
2424
<tbody>
2525
<tr>
2626
<td><strong>SDK Filename</strong></td>
27-
<td>fraudforce-lib-release-5.2.2.aar</td>
27+
<td>fraudforce-lib-release-5.3.0.aar</td>
2828
</tr>
2929
<tr>
3030
<td><strong>Version</strong></td>
31-
<td>5.2.2</td>
31+
<td>5.3.0</td>
3232
</tr>
3333
<tr>
3434
<td><strong>Package</strong></td>
3535
<td>com.iovation.mobile.android.FraudForce</td>
3636
</tr>
3737
<tr>
3838
<td><strong>Android SDK Dependencies</strong></td>
39-
<td>Android SDK 5.0 or higher (SDK level 21)</td>
39+
<td>Android SDK 7.0 or higher (SDK level 24)</td>
4040
</tr>
4141
<tr>
4242
<td><strong>Library Dependencies</strong></td>
@@ -56,7 +56,7 @@ <h2 id="android-integration-files-and-requirements">Android Integration Files an
5656
</tr>
5757
<tr>
5858
<td></td>
59-
<td>GET_ACCOUNTS, ACCESS_NETWORK_STATE</td>
59+
<td>GET_ACCOUNTS, ACCESS_NETWORK_STATE, DETECT_SCREEN_RECORDING</td>
6060
</tr>
6161
<tr>
6262
<td><strong>Supported NDK Architectures</strong></td>
@@ -70,18 +70,18 @@ <h2 id="android-integration-files-and-requirements">Android Integration Files an
7070
<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>
7171
<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>
7272
</blockquote>
73-
<p>Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.</p>
73+
<p>Version 5.3.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.</p>
7474
<h2 id="installing-the-device-risk-sdk-for-android">Installing the Device Risk SDK for Android</h2>
7575
<ol>
76-
<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>
76+
<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>
7777
</li>
78-
<li><p>Unzip iovation-android-sdk-5.2.2.zip.</p>
78+
<li><p>Unzip iovation-android-sdk-5.3.0.zip.</p>
7979
</li>
8080
<li><p>Depending on your IDE, do one of the following:</p>
8181
<ul>
8282
<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>
8383
</li>
84-
<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>
84+
<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>
8585
<pre><code> <span class="hljs-section">buildscript</span> {
8686
<span class="hljs-section">repositories</span> {
8787
<span class="hljs-section">flatDir</span> {
@@ -95,25 +95,25 @@ <h2 id="installing-the-device-risk-sdk-for-android">Installing the Device Risk S
9595
<span class="hljs-attribute">dirs</span> <span class="hljs-string">'libs'</span>
9696
}
9797
}
98-
</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>
98+
</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>
9999
<pre><code> <span class="hljs-selector-tag">dependencies</span> {
100100
...
101-
<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>)
101+
<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>)
102102
}
103103
</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>
104104
<pre><code> dependencies {
105105
...
106-
<span class="hljs-keyword">implementation</span> files(<span class="hljs-string">'libs/fraudforce-lib-release-5.2.2.aar'</span>)
106+
<span class="hljs-keyword">implementation</span> files(<span class="hljs-string">'libs/fraudforce-lib-release-5.3.0.aar'</span>)
107107
}
108108
</code></pre><p> Save the <code>build.gradle</code> file.</p>
109109
</li>
110110
</ul>
111111
</li>
112-
<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>
112+
<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>
113113
<pre><code> android {
114114
compileOptions {
115-
sourceCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_1_8</span>
116-
targetCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_1_8</span>
115+
sourceCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_11</span>
116+
targetCompatibility JavaVersion<span class="hljs-selector-class">.VERSION_11</span>
117117
}
118118
}
119119
</code></pre></li>
@@ -275,7 +275,7 @@ <h2 id="network-calls">Network Calls</h2>
275275
<h2 id="compiling-the-sample-app-in-android-studio">Compiling The Sample App in Android Studio</h2>
276276
<p>1 In Android Studio, select File | Open or click <strong>Open Existing Android Studio Project</strong> from the quick-start screen.</p>
277277
<ol>
278-
<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>
278+
<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>
279279
</li>
280280
<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>
281281
</li>
@@ -292,6 +292,15 @@ <h2 id="compiling-the-sample-app-in-android-studio">Compiling The Sample App in
292292
</li>
293293
</ol>
294294
<h2 id="changelog">Changelog</h2>
295+
<h3 id="5-3-0">5.3.0</h3>
296+
<ul>
297+
<li><strong>Java 11 is now required.</strong></li>
298+
<li><strong>The SDK has updated Kotlin (2.0.20).</strong></li>
299+
<li>Minimum SDK version supported is now 24.</li>
300+
<li>Update target SDK to 35.</li>
301+
<li>Adjusted collection details./li>
302+
<li>Additional optional permission.</li>
303+
</ul>
295304
<h3 id="5-2-2">5.2.2</h3>
296305
<ul>
297306
<li>Bug fix to handle abstract method exception.</li>

README.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati
1818

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

3232
> __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.
@@ -37,19 +37,19 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati
3737
3838
> __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.
3939
40-
Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
40+
Version 5.3.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
4141

4242
## Installing the Device Risk SDK for Android
4343

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

46-
2. Unzip iovation-android-sdk-5.2.2.zip.
46+
2. Unzip iovation-android-sdk-5.3.0.zip.
4747

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

5050
- 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).
5151

52-
- 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.
52+
- 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.
5353

5454
```
5555
buildscript {
@@ -66,12 +66,12 @@ Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.
6666
}
6767
}
6868
```
69-
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.2.2 is included as a dependency:
69+
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.3.0 is included as a dependency:
7070
7171
```
7272
dependencies {
7373
...
74-
implementation(name:'fraudforce-lib-release-5.2.2', ext:'aar')
74+
implementation(name:'fraudforce-lib-release-5.3.0', ext:'aar')
7575
}
7676
```
7777
@@ -80,18 +80,18 @@ Version 5.2.2 of the TruValidate Device Risk SDK for Android supports Android 5.
8080
```
8181
dependencies {
8282
...
83-
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
83+
implementation files('libs/fraudforce-lib-release-5.3.0.aar')
8484
}
8585
```
8686
8787
Save the `build.gradle` file.
8888
89-
4. If you are not already using Java 8 in your project, please include the following code into your application's 'build.gradle' file.
89+
4. If you are not already using Java 11 in your project, please include the following code into your application's 'build.gradle' file.
9090
```
9191
android {
9292
compileOptions {
93-
sourceCompatibility JavaVersion.VERSION_1_8
94-
targetCompatibility JavaVersion.VERSION_1_8
93+
sourceCompatibility JavaVersion.VERSION_11
94+
targetCompatibility JavaVersion.VERSION_11
9595
}
9696
}
9797
```
@@ -292,7 +292,7 @@ The SDK includes the ability to make a network call to TransUnion TruValidate's
292292
293293
1 In Android Studio, select File | Open or click **Open Existing Android Studio Project** from the quick-start screen.
294294
295-
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.
295+
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.
296296
297297
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`.
298298
@@ -307,6 +307,14 @@ The SDK includes the ability to make a network call to TransUnion TruValidate's
307307
6. When the app compiles successfully, you will see a view with a button that allows you to display a blackbox.
308308
309309
## Changelog
310+
### 5.3.0
311+
- **Java 11 is now required.**
312+
- **The SDK has updated Kotlin (2.0.20).**
313+
- Minimum SDK version supported is now 24.
314+
- Update target SDK to 35.
315+
- Adjusted collection details.
316+
- Additional optional permission.
317+
310318
### 5.2.2
311319
- Bug fix to handle abstract method exception.
312320

android-studio-sample-app/app/build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ android {
55

66
defaultConfig {
77
applicationId "com.iovation.mobile.android.sample.sampleapp"
8-
minSdkVersion 21
8+
namespace "com.iovation.mobile.android.sample.sampleapp"
9+
minSdkVersion 24
910
targetSdkVersion 33
10-
versionCode 14
11-
versionName "5.2.2"
11+
versionCode 15
12+
versionName "5.3.0"
1213
}
1314
buildTypes {
1415
release {
@@ -20,13 +21,13 @@ android {
2021
abortOnError false
2122
}
2223
compileOptions {
23-
sourceCompatibility JavaVersion.VERSION_1_8
24-
targetCompatibility JavaVersion.VERSION_1_8
24+
sourceCompatibility JavaVersion.VERSION_11
25+
targetCompatibility JavaVersion.VERSION_11
2526
}
2627
}
2728

2829
dependencies {
2930
implementation fileTree(dir: 'libs', include: ['*.jar'])
30-
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
31+
implementation files('libs/fraudforce-lib-release-5.3.0.aar')
3132
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
3233
}
Binary file not shown.
Binary file not shown.

android-studio-sample-app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ buildscript {
77
google()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.0.3'
11-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
10+
classpath 'com.android.tools.build:gradle:8.9.0'
11+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Mar 30 14:27:27 EDT 2023
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

android-studio-sample-app/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Please set the JAVA_HOME variable in your environment to match the
8282
location of your Java installation."
8383
fi
8484
else
85-
JAVACMD="java"
85+
JAVACMD="/usr/lib/jvm/java-23-amazon-corretto/bin/java"
8686
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
8787
8888
Please set the JAVA_HOME variable in your environment to match the

android-studio-sample-app/kotlinApp/build.gradle

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ android {
88

99
defaultConfig {
1010
applicationId "com.iovation.mobile.android.sample.kotlinApp"
11-
minSdk 21
11+
namespace "com.iovation.mobile.android.sample.kotlinApp"
12+
minSdk 24
1213
targetSdk 34
13-
versionCode 14
14-
versionName "5.2.2"
14+
versionCode 15
15+
versionName "5.3.0"
1516
}
1617

1718
buildTypes {
@@ -21,11 +22,11 @@ android {
2122
}
2223
}
2324
compileOptions {
24-
sourceCompatibility JavaVersion.VERSION_1_8
25-
targetCompatibility JavaVersion.VERSION_1_8
25+
sourceCompatibility JavaVersion.VERSION_11
26+
targetCompatibility JavaVersion.VERSION_11
2627
}
2728
kotlinOptions {
28-
jvmTarget = '1.8'
29+
jvmTarget = '11'
2930
}
3031

3132
buildFeatures {
@@ -35,6 +36,6 @@ android {
3536

3637
dependencies {
3738
implementation 'androidx.appcompat:appcompat:1.0.0'
38-
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
39+
implementation files('libs/fraudforce-lib-release-5.3.0.aar')
3940
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
4041
}
Binary file not shown.

0 commit comments

Comments
 (0)