We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1787847 commit c193afaCopy full SHA for c193afa
docs/remote-config/getting-started.md
@@ -66,15 +66,17 @@ Providing `DEFAULTS ({[key: string]: string | number | boolean})` tells `Angular
66
## Putting it all together
67
68
```ts
69
+import { AngularFireRemoteConfigModule, DEFAULTS, SETTINGS } from '@angular/fire/remote-config';
70
+
71
@NgModule({
72
imports: [
73
AngularFireModule.initializeApp(environment.firebase),
74
AngularFireRemoteConfigModule
75
],
76
providers: [
- { provide: DEFAULT_CONFIG, useValue: { enableAwesome: true } },
77
+ { provide: DEFAULTS, useValue: { enableAwesome: true } },
78
{
- provide: REMOTE_CONFIG_SETTINGS,
79
+ provide: SETTINGS,
80
useFactory: () => isDevMode() ? { minimumFetchIntervalMillis: 10_000 } : {}
81
}
82
]
0 commit comments