The Firebase Crashlytics issue builder interface.

Index

Properties

Private options

Private triggerResource

triggerResource: function

Type declaration

    • (): string
    • Returns string

Methods

Private onEvent

onNew

  • Event handler that fires every time a new issue occurs in a project.

    example
    exports.postOnNewIssue = functions.crashlytics.issue().onNew(event => {
      const { data } = event;
      issueId = data.issueId;
      issueTitle =  data.issueTitle;
      const slackMessage = ` There's a new issue (${issueId}) ` +
          `in your app - ${issueTitle}`;
      return notifySlack(slackMessage).then(() => {
        console.log(`Posted new issue ${issueId} successfully to Slack`);
      });
    });

    Parameters

    • handler: function

      Event handler that fires every time a new issue event occurs.

    Returns CloudFunction<Issue>

onRegressed

  • Event handler that fires every time a regressed issue reoccurs in a project.

    Parameters

    • handler: function

      Event handler that fires every time a regressed issue event occurs.

    Returns CloudFunction<Issue>

onVelocityAlert

  • Event handler that fires every time a velocity alert occurs in a project.

    Parameters

    • handler: function

      handler that fires every time a velocity alert issue event occurs.

    Returns CloudFunction<Issue>