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

Class RemoteConfig

packages/firebase-remote-config/index.d.ts:27–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27export 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
67declare module '@nativescript/firebase-core' {
68 export interface Firebase extends FirebaseRemoteConfig {}

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…