title: Google cloud function doesn't trigger on crashlytics velocityAlert
body: <p>I have 3 cloud functions for integrations with crashlytics events. They contain the same logic but are bound to different events (onNew, onVelocityAlert and onRegressed). As I can see from logs only NewIssueEvent(onNew) works well. VelocityAalerts and Regressed events are never invoked although notifications about these events come to e-mail. What am I doing wrong?</p>
  
  <p>See code below:</p>
  
  <pre><code>
  const functions = require('firebase-functions');
  const rp = require('request-promise');
  
  function sendEvent(event) {
      return rp({
          method: 'POST',
          uri: functions.config().crashlytics.crash_collector_url,
          body: event,
          json: true,
      });
  }
  
  exports.VelocityAlertEvent = functions.crashlytics.issue().onVelocityAlert(async (issue) =&gt; {
      await processEvent(issue, 'VelocityAlertEvent')
  });
  
  exports.NewIssueEvent = functions.crashlytics.issue().onNew(async (issue) =&gt; {
      await processEvent(issue, 'NewIssueEvent')
  });
  
  exports.RegressedEvent = functions.crashlytics.issue().onRegressed(async (issue) =&gt; {await processEvent(issue, 'RegressedEvent')});
  
  const processEvent = async (event, type) =&gt;{
      if (isActualEvent(event)) {
          await sendEvent(event);
          console.log(`Posted ${type} ${event.issueId} successfully to crash collector`);
      }
      else{
          console.log(`It's old event. Do nothing`);
      }
  }
  
  const isActualEvent = (event) =&gt;{
      const {appInfo} = event;
      const {appName, latestAppVersion} = appInfo;
      const version = latestAppVersion &amp;&amp;  parseFloat(latestAppVersion.split(' ')[0]);
      console.log(`Event appName: ${appName} version: ${version}`);
      return appName === 'MyApp' &amp;&amp; version &gt; 666.123
  }
  </code></pre>