Skip to content

Commit

Permalink
*5.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-schmit committed Jul 24, 2024
1 parent 52dc1ac commit 4fd9a3b
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 18 deletions.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati

| | |
|---------------------------------|--------------------------------------------------------------------------------------------------------|
| **SDK Filename** | fraudforce-lib-release-5.1.0.aar |
| **Version** | 5.1.0 |
| **SDK Filename** | fraudforce-lib-release-5.2.0.aar |
| **Version** | 5.2.0 |
| **Package** | com.iovation.mobile.android.FraudForce |
| **Android SDK Dependencies** | Android SDK 5.0 or higher (SDK level 21) |
| **Library Dependencies** | None |
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.1.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
Version 5.2.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.1.0.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android)
1. Download iovation-android-sdk-5.2.0.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android)

2. Unzip iovation-android-sdk-5.1.0.zip.
2. Unzip iovation-android-sdk-5.2.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.1.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.1.0.aar file accessible to Gradle.
- If you are using __Gradle__, add the *fraudforce-lib-release-5.2.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.2.0.aar file accessible to Gradle.

```
buildscript {
Expand All @@ -66,12 +66,12 @@ Version 5.1.0 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.1.0 is included as a dependency:
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.2.0 is included as a dependency:
```
dependencies {
...
implementation(name:'fraudforce-lib-release-5.1.0', ext:'aar')
implementation(name:'fraudforce-lib-release-5.2.0', ext:'aar')
}
```
Expand All @@ -80,7 +80,7 @@ Version 5.1.0 of the TruValidate Device Risk SDK for Android supports Android 5.
```
dependencies {
...
implementation files('libs/fraudforce-lib-release-5.1.0.aar')
implementation files('libs/fraudforce-lib-release-5.2.0.aar')
}
```
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.1.0.zip or cloned the repo, open the **android-studio-sample-app** directory.
2. From the directory where you unzipped fraudforce-lib-release-5.2.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,10 @@ 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.2.0
- Update target SDK to 33.
- Adjusted collection details.
### 5.1.0
- Adjusted collection details.
Expand Down
8 changes: 4 additions & 4 deletions android-studio-sample-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ android {
defaultConfig {
applicationId "com.iovation.mobile.android.sample.sampleapp"
minSdkVersion 21
targetSdkVersion 31
versionCode 11
versionName "5.1.0"
targetSdkVersion 33
versionCode 12
versionName "5.2.0"
}
buildTypes {
release {
Expand All @@ -27,6 +27,6 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation files('libs/fraudforce-lib-release-5.1.0.aar')
implementation files('libs/fraudforce-lib-release-5.2.0.aar')
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
}
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions android-studio-sample-app/kotlinApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ android {
defaultConfig {
applicationId "com.iovation.mobile.android.sample.kotlinApp"
minSdk 21
targetSdk 32
versionCode 11
versionName "5.1.0"
targetSdk 33
versionCode 12
versionName "5.2.0"
}

buildTypes {
Expand All @@ -35,6 +35,6 @@ android {

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation files('libs/fraudforce-lib-release-5.1.0.aar')
implementation files('libs/fraudforce-lib-release-5.2.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.1.0.aar
Binary file not shown.
Binary file added fraudforce-lib-release-5.2.0.aar
Binary file not shown.
1 change: 1 addition & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
### What's new
- Update target SDK to 33
- Adjusted collection details

0 comments on commit 4fd9a3b

Please sign in to comment.