MCPcopy Create free account
hub / github.com/NativeScript/firebase / Crashlytics

Class Crashlytics

packages/firebase-crashlytics/index.d.ts:4–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { ICrashlytics } from './common';
3
4declare class Crashlytics implements ICrashlytics {
5 readonly native;
6 readonly android;
7 readonly ios;
8 readonly app: FirebaseApp;
9
10 checkForUnsentReports(): Promise<boolean>;
11
12 crash(): void;
13
14 deleteUnsentReports();
15
16 didCrashOnPreviousExecution(): boolean;
17
18 log(message: string): void;
19
20 recordError(error: any): void;
21
22 sendUnsentReports(): void;
23
24 setAttribute(name: string, value: string | number | boolean);
25
26 setAttributes(attributes: { [key: string]: string | number | boolean });
27
28 setCrashlyticsCollectionEnabled(enabled: boolean);
29
30 setUserId(userId: string);
31}
32
33declare module '@nativescript/firebase-core' {
34 export interface Firebase extends FirebaseCrashlytics {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…