You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**FraudForce is now Device Risk. Our device-based products, such as Device Risk and Device-Based Authentication (formerly ClearKey), are critical components of our fraud and identity solutions; the new names make it easy to quickly understand our extensive capabilities. We have united these solutions under the TransUnion TruValidate brand. We have taken care not to update anything that might affect your implementations; as a result you'll still see legacy names in some places.**
@@ -20,8 +18,8 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati
@@ -39,21 +37,21 @@ The Device Risk SDK integrates with native and hybrid apps. Hybrid apps mix nati
39
37
40
38
> __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.
41
39
42
-
Version 4.3.2 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
40
+
Version 5.0.0 of the TruValidate Device Risk SDK for Android supports Android 5.0 or higher.
43
41
44
42
## Installing the Device Risk SDK for Android
45
43
46
-
1.Download iovation-android-sdk-4.3.2.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android).
44
+
1. Download iovation-android-sdk-5.0.0.zip from here: [iovation Mobile SDK for Android](https://github.com/iovation/deviceprint-SDK-Android).
47
45
48
-
2.Unzip iovation-android-sdk-4.3.2.zip.
46
+
2. Unzip iovation-android-sdk-5.0.0.zip.
49
47
50
-
3.Depending on your IDE, do one of the following:
48
+
3. Depending on your IDE, do one of the following:
51
49
52
-
- 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).
50
+
- 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).
53
51
54
-
- If you are using __Gradle__, add the *fraudforce-lib-release-4.3.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-4.3.2.aar file accessible to Gradle.
52
+
- 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.
55
53
56
-
```
54
+
```
57
55
buildscript {
58
56
repositories {
59
57
flatDir {
@@ -67,26 +65,36 @@ Version 4.3.2 of the TruValidate Device Risk SDK for Android supports Android 5.
67
65
dirs 'libs'
68
66
}
69
67
}
70
-
```
71
-
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-4.3.2 is included as a dependency:
68
+
```
69
+
Also in the application module's `build.gradle` file, make sure that fraudforce-lib-release-5.0.0 is included as a dependency:
Alternatively, you can include the dependency without exposing your libs folder as a repository by declaring it in the module's `build.gradle` file as follows:
@@ -134,13 +142,13 @@ To integrate into native apps:
134
142
> __NOTE__: As with initialization, pass the application context when refreshing.
135
143
136
144
```
137
-
FraudForceManager.getInstance().refresh(context);
145
+
FraudForceManager.INSTANCE.refresh(context);
138
146
```
139
147
140
-
4. To generate the blackbox, call the getBlackbox(Context context) function on an instance of FraudForceManager. This method is a **blocking** call so it is **recommended** to call it on a background thread/coroutine.
148
+
5. To generate the blackbox, call the getBlackbox(Context context) function on an instance of FraudForceManager. This method is a **blocking** call so it is **recommended** to call it on a background thread/coroutine.
Copy file name to clipboardExpand all lines: android-studio-sample-app/app/src/main/java/com/iovation/mobile/android/sample/sampleapp/MainApplication.java
Copy file name to clipboardExpand all lines: android-studio-sample-app/app/src/main/java/com/iovation/mobile/android/sample/sampleapp/NativeActivity.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ public class NativeActivity extends Activity {
Copy file name to clipboardExpand all lines: android-studio-sample-app/app/src/main/java/com/iovation/mobile/android/sample/sampleapp/WebViewActivity.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ public void onCreate(Bundle savedInstanceState) {
0 commit comments