| 2 | import { ICrashlytics } from './common'; |
| 3 | |
| 4 | declare 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 | |
| 33 | declare module '@nativescript/firebase-core' { |
| 34 | export interface Firebase extends FirebaseCrashlytics {} |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…