alerts.crashlytics namespace

Functions

Function Description
onNewAnrIssuePublished(handler) Declares a function that can handle a new Application Not Responding issue published to Crashlytics.
onNewAnrIssuePublished(appId, handler) Declares a function that can handle a new Application Not Responding issue published to Crashlytics.
onNewAnrIssuePublished(opts, handler) Declares a function that can handle a new Application Not Responding issue published to Crashlytics.
onNewFatalIssuePublished(handler) Declares a function that can handle a new fatal issue published to Crashlytics.
onNewFatalIssuePublished(appId, handler) Declares a function that can handle a new fatal issue published to Crashlytics.
onNewFatalIssuePublished(opts, handler) Declares a function that can handle a new fatal issue published to Crashlytics.
onNewNonfatalIssuePublished(handler) Declares a function that can handle a new non-fatal issue published to Crashlytics.
onNewNonfatalIssuePublished(appId, handler) Declares a function that can handle a new non-fatal issue published to Crashlytics.
onNewNonfatalIssuePublished(opts, handler) Declares a function that can handle a new non-fatal issue published to Crashlytics.
onRegressionAlertPublished(handler) Declares a function that can handle a regression alert published to Crashlytics.
onRegressionAlertPublished(appId, handler) Declares a function that can handle a regression alert published to Crashlytics.
onRegressionAlertPublished(opts, handler) Declares a function that can handle a regression alert published to Crashlytics.
onStabilityDigestPublished(handler) Declares a function that can handle a stability digest published to Crashlytics.
onStabilityDigestPublished(appId, handler) Declares a function that can handle a stability digest published to Crashlytics.
onStabilityDigestPublished(opts, handler) Declares a function that can handle a stability digest published to Crashlytics.
onVelocityAlertPublished(handler) Declares a function that can handle a velocity alert published to Crashlytics.
onVelocityAlertPublished(appId, handler) Declares a function that can handle a velocity alert published to Crashlytics.
onVelocityAlertPublished(opts, handler) Declares a function that can handle a velocity alert published to Crashlytics.

Interfaces

Interface Description
CrashlyticsEvent A custom CloudEvent for Firebase Alerts (with custom extension attributes).
CrashlyticsOptions Configuration for Crashlytics functions.
Issue Generic Crashlytics issue interface
NewAnrIssuePayload The internal payload object for a new Application Not Responding issue. Payload is wrapped inside a FirebaseAlertData object.
NewFatalIssuePayload The internal payload object for a new fatal issue. Payload is wrapped inside a FirebaseAlertData object.
NewNonfatalIssuePayload The internal payload object for a new non-fatal issue. Payload is wrapped inside a FirebaseAlertData object.
RegressionAlertPayload The internal payload object for a regression alert. Payload is wrapped inside a FirebaseAlertData object.
StabilityDigestPayload The internal payload object for a stability digest. Payload is wrapped inside a FirebaseAlertData object.
TrendingIssueDetails Generic Crashlytics trending issue interface
VelocityAlertPayload The internal payload object for a velocity alert. Payload is wrapped inside a FirebaseAlertData object.

alerts.crashlytics.onNewAnrIssuePublished()

Declares a function that can handle a new Application Not Responding issue published to Crashlytics.

Signature:

export declare function onNewAnrIssuePublished(handler: (event: CrashlyticsEvent<NewAnrIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewAnrIssuePayload>>;

Parameters

Parameter Type Description
handler (event: CrashlyticsEvent<NewAnrIssuePayload>) => any | Promise<any> Event handler that is triggered when a new Application Not Responding issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewAnrIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewAnrIssuePublished()

Declares a function that can handle a new Application Not Responding issue published to Crashlytics.

Signature:

export declare function onNewAnrIssuePublished(appId: string, handler: (event: CrashlyticsEvent<NewAnrIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewAnrIssuePayload>>;

Parameters

Parameter Type Description
appId string A specific application the handler will trigger on.
handler (event: CrashlyticsEvent<NewAnrIssuePayload>) => any | Promise<any> Event handler that is triggered when a new Application Not Responding issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewAnrIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewAnrIssuePublished()

Declares a function that can handle a new Application Not Responding issue published to Crashlytics.

Signature:

export declare function onNewAnrIssuePublished(opts: CrashlyticsOptions, handler: (event: CrashlyticsEvent<NewAnrIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewAnrIssuePayload>>;

Parameters

Parameter Type Description
opts CrashlyticsOptions Options that can be set on the function.
handler (event: CrashlyticsEvent<NewAnrIssuePayload>) => any | Promise<any> Event handler that is triggered when a new Application Not Responding issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewAnrIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewFatalIssuePublished()

Declares a function that can handle a new fatal issue published to Crashlytics.

Signature:

export declare function onNewFatalIssuePublished(handler: (event: CrashlyticsEvent<NewFatalIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewFatalIssuePayload>>;

Parameters

Parameter Type Description
handler (event: CrashlyticsEvent<NewFatalIssuePayload>) => any | Promise<any> Event handler that is triggered when a new fatal issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewFatalIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewFatalIssuePublished()

Declares a function that can handle a new fatal issue published to Crashlytics.

Signature:

export declare function onNewFatalIssuePublished(appId: string, handler: (event: CrashlyticsEvent<NewFatalIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewFatalIssuePayload>>;

Parameters

Parameter Type Description
appId string A specific application the handler will trigger on.
handler (event: CrashlyticsEvent<NewFatalIssuePayload>) => any | Promise<any> Event handler that is triggered when a new fatal issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewFatalIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewFatalIssuePublished()

Declares a function that can handle a new fatal issue published to Crashlytics.

Signature:

export declare function onNewFatalIssuePublished(opts: CrashlyticsOptions, handler: (event: CrashlyticsEvent<NewFatalIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewFatalIssuePayload>>;

Parameters

Parameter Type Description
opts CrashlyticsOptions Options that can be set on the function.
handler (event: CrashlyticsEvent<NewFatalIssuePayload>) => any | Promise<any> Event handler that is triggered when a new fatal issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewFatalIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewNonfatalIssuePublished()

Declares a function that can handle a new non-fatal issue published to Crashlytics.

Signature:

export declare function onNewNonfatalIssuePublished(handler: (event: CrashlyticsEvent<NewNonfatalIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewNonfatalIssuePayload>>;

Parameters

Parameter Type Description
handler (event: CrashlyticsEvent<NewNonfatalIssuePayload>) => any | Promise<any> Event handler that is triggered when a new fatal issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewNonfatalIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewNonfatalIssuePublished()

Declares a function that can handle a new non-fatal issue published to Crashlytics.

Signature:

export declare function onNewNonfatalIssuePublished(appId: string, handler: (event: CrashlyticsEvent<NewNonfatalIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewNonfatalIssuePayload>>;

Parameters

Parameter Type Description
appId string A specific application the handler will trigger on.
handler (event: CrashlyticsEvent<NewNonfatalIssuePayload>) => any | Promise<any> Event handler that is triggered when a new non-fatal issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewNonfatalIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onNewNonfatalIssuePublished()

Declares a function that can handle a new non-fatal issue published to Crashlytics.

Signature:

export declare function onNewNonfatalIssuePublished(opts: CrashlyticsOptions, handler: (event: CrashlyticsEvent<NewNonfatalIssuePayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<NewNonfatalIssuePayload>>;

Parameters

Parameter Type Description
opts CrashlyticsOptions Options that can be set on the function.
handler (event: CrashlyticsEvent<NewNonfatalIssuePayload>) => any | Promise<any> Event handler that is triggered when a new non-fatal issue is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<NewNonfatalIssuePayload>>

A function that you can export and deploy.

alerts.crashlytics.onRegressionAlertPublished()

Declares a function that can handle a regression alert published to Crashlytics.

Signature:

export declare function onRegressionAlertPublished(handler: (event: CrashlyticsEvent<RegressionAlertPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<RegressionAlertPayload>>;

Parameters

Parameter Type Description
handler (event: CrashlyticsEvent<RegressionAlertPayload>) => any | Promise<any> Event handler that is triggered when a regression alert is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<RegressionAlertPayload>>

A function that you can export and deploy.

alerts.crashlytics.onRegressionAlertPublished()

Declares a function that can handle a regression alert published to Crashlytics.

Signature:

export declare function onRegressionAlertPublished(appId: string, handler: (event: CrashlyticsEvent<RegressionAlertPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<RegressionAlertPayload>>;

Parameters

Parameter Type Description
appId string A specific application the handler will trigger on.
handler (event: CrashlyticsEvent<RegressionAlertPayload>) => any | Promise<any> Event handler that is triggered when a regression alert is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<RegressionAlertPayload>>

A function that you can export and deploy.

alerts.crashlytics.onRegressionAlertPublished()

Declares a function that can handle a regression alert published to Crashlytics.

Signature:

export declare function onRegressionAlertPublished(opts: CrashlyticsOptions, handler: (event: CrashlyticsEvent<RegressionAlertPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<RegressionAlertPayload>>;

Parameters

Parameter Type Description
opts CrashlyticsOptions Options that can be set on the function.
handler (event: CrashlyticsEvent<RegressionAlertPayload>) => any | Promise<any> Event handler that is triggered when a regression alert is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<RegressionAlertPayload>>

A function that you can export and deploy.

alerts.crashlytics.onStabilityDigestPublished()

Declares a function that can handle a stability digest published to Crashlytics.

Signature:

export declare function onStabilityDigestPublished(handler: (event: CrashlyticsEvent<StabilityDigestPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<StabilityDigestPayload>>;

Parameters

Parameter Type Description
handler (event: CrashlyticsEvent<StabilityDigestPayload>) => any | Promise<any> Event handler that is triggered when a stability digest is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<StabilityDigestPayload>>

A function that you can export and deploy.

alerts.crashlytics.onStabilityDigestPublished()

Declares a function that can handle a stability digest published to Crashlytics.

Signature:

export declare function onStabilityDigestPublished(appId: string, handler: (event: CrashlyticsEvent<StabilityDigestPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<StabilityDigestPayload>>;

Parameters

Parameter Type Description
appId string A specific application the handler will trigger on.
handler (event: CrashlyticsEvent<StabilityDigestPayload>) => any | Promise<any> Event handler that is triggered when a stability digest is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<StabilityDigestPayload>>

A function that you can export and deploy.

alerts.crashlytics.onStabilityDigestPublished()

Declares a function that can handle a stability digest published to Crashlytics.

Signature:

export declare function onStabilityDigestPublished(opts: CrashlyticsOptions, handler: (event: CrashlyticsEvent<StabilityDigestPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<StabilityDigestPayload>>;

Parameters

Parameter Type Description
opts CrashlyticsOptions Options that can be set on the function.
handler (event: CrashlyticsEvent<StabilityDigestPayload>) => any | Promise<any> Event handler that is triggered when a stability digest is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<StabilityDigestPayload>>

A function that you can export and deploy.

alerts.crashlytics.onVelocityAlertPublished()

Declares a function that can handle a velocity alert published to Crashlytics.

Signature:

export declare function onVelocityAlertPublished(handler: (event: CrashlyticsEvent<VelocityAlertPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<VelocityAlertPayload>>;

Parameters

Parameter Type Description
handler (event: CrashlyticsEvent<VelocityAlertPayload>) => any | Promise<any> Event handler that is triggered when a velocity alert is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<VelocityAlertPayload>>

A function that you can export and deploy.

alerts.crashlytics.onVelocityAlertPublished()

Declares a function that can handle a velocity alert published to Crashlytics.

Signature:

export declare function onVelocityAlertPublished(appId: string, handler: (event: CrashlyticsEvent<VelocityAlertPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<VelocityAlertPayload>>;

Parameters

Parameter Type Description
appId string A specific application the handler will trigger on.
handler (event: CrashlyticsEvent<VelocityAlertPayload>) => any | Promise<any> Event handler that is triggered when a velocity alert is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<VelocityAlertPayload>>

A function that you can export and deploy.

alerts.crashlytics.onVelocityAlertPublished()

Declares a function that can handle a velocity alert published to Crashlytics.

Signature:

export declare function onVelocityAlertPublished(opts: CrashlyticsOptions, handler: (event: CrashlyticsEvent<VelocityAlertPayload>) => any | Promise<any>): CloudFunction<CrashlyticsEvent<VelocityAlertPayload>>;

Parameters

Parameter Type Description
opts CrashlyticsOptions Options that can be set on the function.
handler (event: CrashlyticsEvent<VelocityAlertPayload>) => any | Promise<any> Event handler that is triggered when a velocity alert is published to Crashlytics.

Returns:

CloudFunction<CrashlyticsEvent<VelocityAlertPayload>>

A function that you can export and deploy.