Package com.castlabs.sdk.crashlytics

# Class CrashlyticsPlugin

java.lang.Object
com.castlabs.android.Plugin
com.castlabs.sdk.crashlytics.CrashlyticsPlugin

public class CrashlyticsPlugin extends Plugin
This plugin enabled integration of Crashlytics using the `CrashReporter` interface. The SDK uses this interface to populate the crash context and add valuable debug information. This information will appear as part of a crash report on the Crashlytics dashboard.

Please note that the plugin does not initialize Fabric and Crashlytics for you. Before you register an instance of this plugin with the SDK, please make sure that you initialize the Fabric SDK and add at least the Crashlytics Kit. You can do this for example in your application class:

      public class MyApp extends Application {
     @Override
          public void onCreate() {
              super.onCreate();

              Fabric.with(getApplicationContext(), new Crashlytics());
              PlayerSDK.register(new CrashlyticsPlugin());
              PlayerSDK.init(getApplicationContext());
          }
     }

Since:
  3.0.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CrashlyticsPlugin()`
  Default constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getId()`

  ### Methods inherited from class com.castlabs.android.Plugin

  `init, onRemotePlay`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CrashlyticsPlugin

    public CrashlyticsPlugin()
    Default constructor

- ## Method Details

  - ### getId

    @NonNull public String getId()
    Specified by:
      `getId` in class `Plugin`