Skip to content

Commit

Permalink
Remove automatic verification from EmbraceSamples
Browse files Browse the repository at this point in the history
  • Loading branch information
priettt committed Jul 8, 2024
1 parent 56bc5d7 commit 21817c8
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 838 deletions.
1 change: 0 additions & 1 deletion embrace-android-sdk/api/embrace-android-sdk.api
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ public final class io/embrace/android/embracesdk/EmbraceSamples {
public static final fun throwJvmException ()V
public static final fun triggerAnr ()V
public static final fun triggerLongAnr ()V
public static final fun verifyIntegration ()V
}

public abstract interface class io/embrace/android/embracesdk/FlutterInternalInterface : io/embrace/android/embracesdk/internal/EmbraceInternalInterface {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,6 @@ import io.embrace.android.embracesdk.samples.EmbraceCrashSamples
public object EmbraceSamples {

private val embraceCrashSamples = EmbraceCrashSamples
private val embraceAutomaticVerification = EmbraceAutomaticVerification()

/**
* Starts an automatic verification of the following Embrace features:
* - Log a Breadcrumb
* - Set user data
* - Add info, warning and error logs
* - Start and end a moment
* - Executes a GET request
* - Add the trace id to the request (default or the one specified in the local config)
* - Check the current and the latest SDK version
* - Execute a POST request
* - Execute a bad request
* - Trigger an ANR
* - Throw an Exception (yep, the application will be relaunch)
*
* Then, that information can be verified in user sessions dashboard
*/
@JvmStatic
public fun verifyIntegration() {
embraceAutomaticVerification.verifyIntegration()
}

/**
* Throw a custom JVM crash to be part of current session.
Expand Down
Loading

0 comments on commit 21817c8

Please sign in to comment.