Cause your app to crash for testing purposes. This is a native crash and will not contain a javascript stack trace. Note that crashes are intercepted by debuggers on iOS so no report will be seen under those conditions.
Deletes any unsent reports on the device. This method only applies if automatic data collection is disabled.
Returns a boolean value indicating whether the app crashed during the previous execution.
Log a message that will appear in any subsequent Crash or Non-fatal error reports.
The message to log.
Record a JavaScript Error.
The JavaScript stack trace is converted into a mock native iOS or Android exception before submission.
Expects an instance of Error; e.g. classes that extend Error will also be supported.
OptionaljsErrorName: stringOptional string containing Javascript error name
Enqueues any unsent reports on the device to upload to Crashlytics. This method only applies if automatic data collection is disabled.
Sets a string value to be associated with the given attribute name which will be visible in the Firebase Crashlytics console.
The name of the attribute to set.
A string value for the given attribute.
Like setAttribute but for multiple attributes.
An object of key/value attribute name and values.
Enable/disable Crashlytics reporting.
Use this for opt-in first user data collection flows combined with firebase.json settings to disable auto collection.
A boolean value representing whether to enable Crashlytics error collection.
Specify a user identifier which will be visible in the Firebase Crashlytics console.
It is recommended for privacy purposes that this value be a value that's meaningless to a third-party observer; such as an arbitrary string that ties an end-user to a record in your system e.g. a database record id.
An arbitrary string that ties an end-user to a record in your system e.g. a database record id.
Crashlytics module instance - returned from firebase.crashlytics() or firebase.app().crashlytics()