Chat now
Getting Started with Ease
Add the Logify Client to Your Project

In your application module's build.gradle file, do the following:

  1. In the dependencies section, declare the logify-alert-android library dependency:

    compile "com.devexpress.logify:logify-alert-android:1.0.2"
  2. In the repositories section, declare the Logify Alert's maven repository:

    maven {
      url "https://github.com/DevExpress/Logify.Alert.Clients/raw/maven"
    }
  3. In the defaultConfig section, ensure that minSdkVersion is set to a value from 17 to 28.

In the pom.xml file, do the following:

  1. In the dependencies section, declare the logify-alert-android library dependency:

    <dependency>
      <groupId>com.devexpress.logify</groupId>
      <artifactId>logify-alert-android</artifactId>
      <version>1.0.2</version>
    </dependency>
  2. In the repositories section, declare the Logify Alert's maven repository:

    <repository>
      <id>any-name-or-id</id>
      <url>https://github.com/DevExpress/Logify.Alert.Clients/raw/maven </url>
    </repository>
  3. In the defaultConfig section, ensure that minSdkVersion is set to a value from 17 to 28.

Send Reports to Logify
import com.devexpress.logify.alert.android.LogifyAlert;

LogifyAlert client = LogifyAlert.getInstance();
client.setApiKey("YOUR_API_KEY");
client.setContext(this.getApplicationContext()); // Optional but recommended.
client.startExceptionsHandling();
That’s it! Your application is ready to report all unexpected crashes to DevExpress Logify.
Refer to our documentation for more information.