You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[BREAKING] Module namespace has been renamed to `.remoteConfig()`, replace all usages of `firebase.config` with the new name.
321
322
-[BREAKING] All Remote Config values can now be accessed synchronously in JS, see `getValue(key: string): ConfigValue` & `getAll(): ConfigValues` below
322
323
-[BREAKING] These replace all the original async methods: `getValue`, `getValues`, `getKeysByPrefix`
323
324
-[BREAKING]`setDefaultsFromResource` now returns a Promise that resolves when completed, this will reject with code `config/resouce_not_found` if the file could not be found
@@ -326,7 +327,7 @@ The Remote Config API has had a significant API change as originally highlighted
326
327
-[BREAKING]`enableDeveloperMode` has been removed, you can now use `setConfigSettings({ isDeveloperModeEnabled: boolean })` instead
327
328
-[BREAKING]`setDefaults` now returns a Promise that resolves when completed
328
329
-[NEW] Added a new `fetchAndActivate` method - this fetches the config and activates it without the need to call `activate()` separately
329
-
-[NEW] Added the following properties to `firebase.config()`; `lastFetchTime`, `lastFetchStatus` & `isDeveloperModeEnabled`
330
+
-[NEW] Added the following properties to `firebase.remoteConfig()`; `lastFetchTime`, `lastFetchStatus` & `isDeveloperModeEnabled`
330
331
-[NEW] Added a new `setConfigSettings` method - this allows setting `isDeveloperModeEnabled`, replaces the `enableDeveloperMode` method
331
332
- This is a generic settings function to pre-emotively account for an upcoming future change to the native sdks - more settings to be added.
332
333
-[NEW] All previous `get*` methods have been removed and replaced with 2 synchronous methods:
Copy file name to clipboardExpand all lines: docs/config/android.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ description: Manually integrate Remote Config into your Android application.
14
14
15
15
```groovy
16
16
include ':@react-native-firebase_config'
17
-
project(':@react-native-firebase_config').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/config/android')
17
+
project(':@react-native-firebase_config').projectDir = new File(rootProject.projectDir, './../node_modules/@react-native-firebase/remote-config/android')
Copy file name to clipboardExpand all lines: docs/config/quick-start.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ description: Getting started with Remote Config in React Native Firebase
10
10
Install this module with Yarn:
11
11
12
12
```bash
13
-
yarn add @react-native-firebase/config
13
+
yarn add @react-native-firebase/remote-config
14
14
```
15
15
16
16
> Integrating manually and not via React Native auto-linking? Check the setup instructions for <Anchorversiongrouphref="/android">Android</Anchor> & <Anchorversiongrouphref="/ios">iOS</Anchor>.
0 commit comments