diff --git a/README.md b/README.md index e75593b..fe2c824 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 { @@ -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') } ``` @@ -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') } ``` @@ -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`. @@ -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.** diff --git a/android-studio-sample-app/app/build.gradle b/android-studio-sample-app/app/build.gradle index 21a671b..976199b 100644 --- a/android-studio-sample-app/app/build.gradle +++ b/android-studio-sample-app/app/build.gradle @@ -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 { @@ -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" } diff --git a/android-studio-sample-app/app/libs/fraudforce-lib-release-5.0.0.aar b/android-studio-sample-app/app/libs/fraudforce-lib-release-5.0.0.aar deleted file mode 100644 index fe89c74..0000000 Binary files a/android-studio-sample-app/app/libs/fraudforce-lib-release-5.0.0.aar and /dev/null differ diff --git a/android-studio-sample-app/app/libs/fraudforce-lib-release-5.1.0.aar b/android-studio-sample-app/app/libs/fraudforce-lib-release-5.1.0.aar new file mode 100644 index 0000000..d117b20 Binary files /dev/null and b/android-studio-sample-app/app/libs/fraudforce-lib-release-5.1.0.aar differ diff --git a/android-studio-sample-app/kotlinApp/build.gradle b/android-studio-sample-app/kotlinApp/build.gradle index 64b8aa7..3b597e3 100644 --- a/android-studio-sample-app/kotlinApp/build.gradle +++ b/android-studio-sample-app/kotlinApp/build.gradle @@ -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 { @@ -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' } \ No newline at end of file diff --git a/android-studio-sample-app/kotlinApp/libs/fraudforce-lib-release-5.0.0.aar b/android-studio-sample-app/kotlinApp/libs/fraudforce-lib-release-5.0.0.aar deleted file mode 100644 index fe89c74..0000000 Binary files a/android-studio-sample-app/kotlinApp/libs/fraudforce-lib-release-5.0.0.aar and /dev/null differ diff --git a/android-studio-sample-app/kotlinApp/libs/fraudforce-lib-release-5.1.0.aar b/android-studio-sample-app/kotlinApp/libs/fraudforce-lib-release-5.1.0.aar new file mode 100644 index 0000000..d117b20 Binary files /dev/null and b/android-studio-sample-app/kotlinApp/libs/fraudforce-lib-release-5.1.0.aar differ diff --git a/fraudforce-lib-release-5.0.0.aar b/fraudforce-lib-release-5.0.0.aar deleted file mode 100644 index fe89c74..0000000 Binary files a/fraudforce-lib-release-5.0.0.aar and /dev/null differ diff --git a/fraudforce-lib-release-5.1.0.aar b/fraudforce-lib-release-5.1.0.aar new file mode 100644 index 0000000..d117b20 Binary files /dev/null and b/fraudforce-lib-release-5.1.0.aar differ diff --git a/release-notes.md b/release-notes.md index a8e8074..3f4f763 100644 --- a/release-notes.md +++ b/release-notes.md @@ -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. \ No newline at end of file +- Adjusted collection details \ No newline at end of file