Skip to content

Commit e2c9475

Browse files
authored
Remove crashlyitcs (#866)
1 parent fc4788e commit e2c9475

File tree

6 files changed

+9
-412
lines changed

6 files changed

+9
-412
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/providers/crashlytics.spec.ts

Lines changed: 0 additions & 157 deletions
This file was deleted.

src/function-builder.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import {
3535
} from './function-configuration';
3636
import * as analytics from './providers/analytics';
3737
import * as auth from './providers/auth';
38-
import * as crashlytics from './providers/crashlytics';
3938
import * as database from './providers/database';
4039
import * as firestore from './providers/firestore';
4140
import * as https from './providers/https';
@@ -311,16 +310,6 @@ export class FunctionBuilder {
311310
};
312311
}
313312

314-
get crashlytics() {
315-
return {
316-
/**
317-
* Handle events related to Crashlytics issues. An issue in Crashlytics is
318-
* an aggregation of crashes which have a shared root cause.
319-
*/
320-
issue: () => crashlytics._issueWithOptions(this.options),
321-
};
322-
}
323-
324313
get analytics() {
325314
return {
326315
/**

src/handler-builder.ts

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { apps } from './apps';
2626
import { CloudFunction, EventContext, HttpsFunction } from './cloud-functions';
2727
import * as analytics from './providers/analytics';
2828
import * as auth from './providers/auth';
29-
import * as crashlytics from './providers/crashlytics';
3029
import * as database from './providers/database';
3130
import * as firestore from './providers/firestore';
3231
import * as https from './providers/https';
@@ -182,41 +181,6 @@ export class HandlerBuilder {
182181
};
183182
}
184183

185-
/**
186-
* Create a handler for Firebase Crashlytics events.
187-
188-
* `issue.onNew` handles events where the app experiences an issue for the first time.
189-
190-
* @example
191-
* ```javascript
192-
* exports.myFunction = functions.handler.crashlytics.issue.onNew((issue) => { ... })
193-
* ```
194-
195-
* `issue.onRegressed` handles events where an issue reoccurs after it
196-
* is closed in Crashlytics.
197-
*
198-
* @example
199-
* ```javascript
200-
* exports.myFunction = functions.handler.crashlytics.issue.onRegressed((issue) => { ... })
201-
* ```
202-
203-
* `issue.onVelocityAlert` handles events where a statistically significant number
204-
* of sessions in a given build crash.
205-
*
206-
* @example
207-
* ```javascript
208-
* exports.myFunction = functions.handler.crashlytics.issue.onVelocityAlert((issue) => { ... })
209-
* ```
210-
211-
*/
212-
get crashlytics() {
213-
return {
214-
get issue() {
215-
return new crashlytics.IssueBuilder(() => null, {});
216-
},
217-
};
218-
}
219-
220184
/**
221185
* Create a handler for Firebase Remote Config events.
222186

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
// Providers:
2424
import * as analytics from './providers/analytics';
2525
import * as auth from './providers/auth';
26-
import * as crashlytics from './providers/crashlytics';
2726
import * as database from './providers/database';
2827
import * as firestore from './providers/firestore';
2928
import * as https from './providers/https';
@@ -43,7 +42,6 @@ export {
4342
analytics,
4443
app,
4544
auth,
46-
crashlytics,
4745
database,
4846
firestore,
4947
handler,

0 commit comments

Comments
 (0)