public final class ParseCrashReporting extends Object
This can be found in our ParseCrashReporting SDK.
| Modifier and Type | Method and Description |
|---|---|
static void |
enable(Context context)
Enable crash reporting for your app.
|
static boolean |
isCrashReportingEnabled()
Indicates whether crash reporting is currently enabled.
|
public static void enable(Context context)
The recommended way is to put a call to ParseCrashReporting.enable in your
Application's onCreate method before Parse.initialize.
For example:
public class MyApplication extends Application {
public void onCreate() {
ParseCrashReporting.enable(this);
Parse.initialize(this, "your application id", "your client key");
}
}
context - The active Context for your application.public static boolean isCrashReportingEnabled()