Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.23 KB

Debugging.md

File metadata and controls

65 lines (46 loc) · 2.23 KB

Implementation Validation with Assurance

The AEP SDK offers an extension to quickly inspect, validate, debug data collection, and experiences for any mobile app using the AEP SDK. We built Assurance to do the heavy lifting of getting an SDK implementation right, so app developers can focus on creating engaging experiences.

Quick Setup

Add Assurance to your app

Installation via Maven & Gradle is the easiest and recommended way to get the AEP SDK into your Android app. In your build.gradle file, include the latest version of Assurance:

Kotlin
implementation(platform("com.adobe.marketing.mobile:sdk-bom:3.+"))
implementation("com.adobe.marketing.mobile:assurance")
Groovy
implementation platform('com.adobe.marketing.mobile:sdk-bom:3.+')
implementation 'com.adobe.marketing.mobile:assurance'

Update Extension Registration

Register Assurance extension by including Assurance.EXTENSION in the list of extensions registered with MobileCore.registerExtensions.

Java
+ import com.adobe.marketing.mobile.Assurance;

@Override
public void onCreate() {

+  MobileCore.registerExtensions(Arrays.asList(Assurance.EXTENSION, Lifecycle.EXTENSION, Identity.EXTENSION, ...), callback -> {
+      // ...
+  });
-  MobileCore.registerExtensions(Arrays.asList(Lifecycle.EXTENSION, Identity.EXTENSION, ...), callback -> {
-      // ...
-  });

} 
Kotlin
+ import com.adobe.marketing.mobile.Assurance;

override fun onCreate() {

+  MobileCore.registerExtensions(listOf(Assurance.EXTENSION, Lifecycle.EXTENSION, Identity.EXTENSION, ...)) {
+      // ...
+  };
-  MobileCore.registerExtensions(listOf(Lifecycle.EXTENSION, Identity.EXTENSION, ...)) {
-      // ...
-  };

} 

Next steps

Now that Assurance is installed and registered with Core, there are just a few more steps required.

  • Assurance implementation instructions can be found here.
  • Steps on how to use Assurance to validate SDK implementation can be found here.