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
42 changes: 22 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati
## Android Integration Files and Requirements


| | |
|---------------------------------|-------------------------------------------------------------------------------------------------------------------|
| **SDK Filename** | fraudforce-lib-release-5.0.0.aar |
| **Version** | 5.0.0 |
| **Package** | com.iovation.mobile.android.FraudForce |
| **Android SDK Dependencies** | Android SDK 5.0 or higher (SDK level 21) |
| **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 |
| **Supported NDK Architectures** | x86, x86_64, arm64-v8a, armeabi-v7a |
| | |
|---------------------------------|--------------------------------------------------------------------------------------------------------|
| **SDK Filename** | fraudforce-lib-release-5.1.0.aar |
| **Version** | 5.1.0 |
| **Package** | com.iovation.mobile.android.FraudForce |
| **Android SDK Dependencies** | Android SDK 5.0 or higher (SDK level 21) |
| **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 |
| **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.0.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
Version 5.1.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.0.0.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android). 
1. Download iovation-android-sdk-5.1.0.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android). 

2. Unzip iovation-android-sdk-5.0.0.zip.
2. Unzip iovation-android-sdk-5.1.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.0.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.0.0.aar file accessible to Gradle.
- 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.

```
buildscript {
Expand All @@ -66,12 +66,12 @@ Version 5.0.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.0.0 is included as a dependency:
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.1.0 is included as a dependency:

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

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

Expand Down Expand Up @@ -277,7 +277,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.0.0.zip or cloned the repo, open the **android-studio-sample-app** directory.
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.

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 @@ -292,6 +292,8 @@ 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.1.0
- Adjusted collection details.

### 5.0.0
- **Java 8 is now required.**
Expand Down
6 changes: 3 additions & 3 deletions android-studio-sample-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.iovation.mobile.android.sample.sampleapp"
minSdkVersion 21
targetSdkVersion 31
versionCode 9
versionName "5.0.1"
versionCode 11
versionName "5.1.0"
}
buildTypes {
release {
Expand All @@ -27,6 +27,6 @@ android {

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

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

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation files('libs/fraudforce-lib-release-5.0.0.aar')
implementation files('libs/fraudforce-lib-release-5.1.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.0.0.aar
Binary file not shown.
Binary file added fraudforce-lib-release-5.1.0.aar
Binary file not shown.
11 changes: 1 addition & 10 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
### What's new
- **Java 8 is now required.**
- **The SDK has migrated to Kotlin (1.5.30).**
- If your application does not already include the Kotlin standard library (i.e. your application
- is written entirely in Java), then you must include the kotlin stdlib as a dependency.
- **FraudForceManager can be accessed as a Kotlin object or via FraudForceManager.INSTANCE when using Java).**
- Targeting Android 12 (API 31).
- Changes to cryptography uses.
- Adjusted collection details.
- Improvements to detail caching.
- Fixed Proguard rules.
- Adjusted collection details