Skip to content

Commit

Permalink
Release/5.2.2 (#30)
Browse files Browse the repository at this point in the history
* *5.2.2 release

* *5.2.2 release updated upload-artifact version
  • Loading branch information
jacob-schmit authored Nov 7, 2024
1 parent 7127005 commit 8ca35e9
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: ./gradlew --stacktrace bundleRelease

- name: Archive Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: APK & AAB artifacts
path: |
Expand Down
26 changes: 15 additions & 11 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ <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.1.aar</td>
<td>fraudforce-lib-release-5.2.2.aar</td>
</tr>
<tr>
<td><strong>Version</strong></td>
<td>5.2.1</td>
<td>5.2.2</td>
</tr>
<tr>
<td><strong>Package</strong></td>
Expand Down Expand Up @@ -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.1 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.</p>
<p>Version 5.2.2 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.1.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.2.2.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.1.zip.</p>
<li><p>Unzip iovation-android-sdk-5.2.2.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.1.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.1.aar file accessible to Gradle.</p>
<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>
<pre><code> <span class="hljs-section">buildscript</span> {
<span class="hljs-section">repositories</span> {
<span class="hljs-section">flatDir</span> {
Expand All @@ -95,15 +95,15 @@ <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.1 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.2.2 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.1'</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.2.2'</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.1.aar'</span>)
<span class="hljs-keyword">implementation</span> files(<span class="hljs-string">'libs/fraudforce-lib-release-5.2.2.aar'</span>)
}
</code></pre><p> Save the <code>build.gradle</code> file.</p>
</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.1.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.2.2.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,7 +292,11 @@ <h2 id="compiling-the-sample-app-in-android-studio">Compiling The Sample App in
</li>
</ol>
<h2 id="changelog">Changelog</h2>
<h3 id="5-2-0">5.2.1</h3>
<h3 id="5-2-2">5.2.2</h3>
<ul>
<li>Bug fix to handle abstract method exception.</li>
</ul>
<h3 id="5-2-1">5.2.1</h3>
<ul>
<li>Update target SDK to 33.</li>
<li>Adjusted collection details.</li>
Expand Down
23 changes: 13 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.2.1.aar |
| **Version** | 5.2.1 |
| **SDK Filename** | fraudforce-lib-release-5.2.2.aar |
| **Version** | 5.2.2 |
| **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.2.1 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
Version 5.2.2 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.1.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android)
1. Download iovation-android-sdk-5.2.2.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android)

2. Unzip iovation-android-sdk-5.2.1.zip.
2. Unzip iovation-android-sdk-5.2.2.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.1.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.1.aar file accessible to Gradle.
- 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.

```
buildscript {
Expand All @@ -66,12 +66,12 @@ Version 5.2.1 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.1 is included as a dependency:
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.2.2 is included as a dependency:
```
dependencies {
...
implementation(name:'fraudforce-lib-release-5.2.1', ext:'aar')
implementation(name:'fraudforce-lib-release-5.2.2', ext:'aar')
}
```
Expand All @@ -80,7 +80,7 @@ Version 5.2.1 of the TruValidate Device Risk SDK for Android supports Android 5.
```
dependencies {
...
implementation files('libs/fraudforce-lib-release-5.2.1.aar')
implementation files('libs/fraudforce-lib-release-5.2.2.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.2.1.zip or cloned the repo, open the **android-studio-sample-app** directory.
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.
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,9 @@ 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.2
- Bug fix to handle abstract method exception.
### 5.2.1
- Update target SDK to 33.
- Adjusted collection details.
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 33
versionCode 13
versionName "5.2.1"
versionCode 14
versionName "5.2.2"
}
buildTypes {
release {
Expand All @@ -27,6 +27,6 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation files('libs/fraudforce-lib-release-5.2.1.aar')
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
}
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 33
versionCode 13
versionName "5.2.1"
targetSdk 34
versionCode 14
versionName "5.2.2"
}

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

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation files('libs/fraudforce-lib-release-5.2.1.aar')
implementation files('libs/fraudforce-lib-release-5.2.2.aar')
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
}
Binary file not shown.
Binary file not shown.
4 changes: 1 addition & 3 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
### What's new
- Update target SDK to 33.
- Adjusted collection details.
- Bug fix for collection issue.
- Bug fix to handle abstract method exception.

0 comments on commit 8ca35e9

Please sign in to comment.