| 25 | } |
| 26 | |
| 27 | export class RemoteConfig implements IRemoteConfig { |
| 28 | constructor(app?: FirebaseApp); |
| 29 | |
| 30 | readonly native; |
| 31 | readonly ios; |
| 32 | readonly android; |
| 33 | |
| 34 | readonly app: FirebaseApp; |
| 35 | |
| 36 | readonly fetchTimeMillis: number; |
| 37 | |
| 38 | readonly lastFetchStatus: 'success' | 'failure' | 'no_fetch_yet' | 'throttled'; |
| 39 | |
| 40 | settings: ConfigSettings; |
| 41 | |
| 42 | activate(): Promise<boolean>; |
| 43 | |
| 44 | ensureInitialized(): Promise<void>; |
| 45 | |
| 46 | fetch(expirationDurationSeconds?: number): Promise<void>; |
| 47 | |
| 48 | fetchAndActivate(): Promise<boolean>; |
| 49 | |
| 50 | getAll(): Record<string, ConfigValue>; |
| 51 | |
| 52 | getBoolean(key: string): boolean; |
| 53 | |
| 54 | getNumber(key: string): number; |
| 55 | |
| 56 | getString(key: string): string; |
| 57 | |
| 58 | getValue(key: string): ConfigValue; |
| 59 | |
| 60 | reset(): Promise<void>; |
| 61 | |
| 62 | setDefaults(defaults: ConfigDefaults): Promise<void>; |
| 63 | |
| 64 | setDefaultsFromResource(resourceName: string): Promise<void>; |
| 65 | } |
| 66 | |
| 67 | declare module '@nativescript/firebase-core' { |
| 68 | export interface Firebase extends FirebaseRemoteConfig {} |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…