---
description: Unofficial Capacitor plugin for Firebase Remote Config SDK to manage app configurations and feature flags remotely.
title: Capacitor Remote Config Plugin for Android, iOS & Web - Capawesome
image: https://capawesome.io/docs/assets/images/social/plugins/firebase/remote-config.png
---

[ Skip to content](#capacitor-firebaseremote-config) 

[ 🎉 Introducing **Capawesome Platform** — one platform for Live Updates, Native Builds, App Store Publishing, and Insider SDKs.](https://capawesome.io) 

* [  Configuration ](#configuration)
* [  Demo ](#demo)
* [  Starter templates ](#starter-templates)
* [  Usage ](#usage)
* [  API ](#api)
* [  Type Aliases ](#type-aliases)
* [  Enums ](#enums)
* [  Changelog ](#changelog)
* [  License ](#license)
* [  Formbricks ](/docs/plugins/formbricks/)
* [  Geocoder ](/docs/plugins/geocoder/)
* [  Google Sign-In ](/docs/plugins/google-sign-in/)
* [  libSQL ](/docs/plugins/libsql/)
* [  Live Update ](/docs/plugins/live-update/)
* [  Managed Configurations ](/docs/plugins/managed-configurations/)
* [  Media Session ](/docs/plugins/media-session/)
* [  ML Kit ](/docs/plugins/mlkit/)
* [  NFC ](/docs/plugins/nfc/)
* [  OAuth ](/docs/plugins/oauth/)
* [  Pedometer ](/docs/plugins/pedometer/)
* [  Photo Editor ](/docs/plugins/photo-editor/)
* [  PostHog ](/docs/plugins/posthog/)
* [  Printer ](/docs/plugins/printer/)
* [  Purchases ](/docs/plugins/purchases/)
* [  RealtimeKit ](/docs/plugins/realtimekit/)
* [  Screen Orientation ](/docs/plugins/screen-orientation/)
* [  Screenshot ](/docs/plugins/screenshot/)
* [  Secure Preferences ](/docs/plugins/secure-preferences/)
* [  Speech Recognition ](/docs/plugins/speech-recognition/)
* [  Speech Synthesis ](/docs/plugins/speech-synthesis/)
* [  Share Target ](/docs/plugins/share-target/)
* [  Square Mobile Payments ](/docs/plugins/square-mobile-payments/)
* [  SQLite ](/docs/plugins/sqlite/)
* [  Superwall ](/docs/plugins/superwall/)
* [  Torch ](/docs/plugins/torch/)
* [  Wifi ](/docs/plugins/wifi/)
* [  Zip ](/docs/plugins/zip/)
* [  Cloud ](/docs/cloud/)
* [  Live Updates ](/docs/cloud/live-updates/)
* Advanced
* Integrations
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Configuration ](/docs/cloud/native-builds/configuration/)
* [  Environments ](/docs/cloud/native-builds/environments/)
* Guides
* [  Sample Projects ](/docs/cloud/native-builds/sample-projects/)
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  Automations ](/docs/cloud/automations/)
* [  Assist ](/docs/cloud/assist/)
* Account
* Organizations
* [  Organization and User Management ](/docs/cloud/organizations/memberships/)
* [  Single Sign-On (SSO) ](/docs/cloud/organizations/sso/)
* [  Teams ](/docs/cloud/organizations/teams/)
* [  Two-Factor Authentication ](/docs/cloud/organizations/two-factor-authentication/)
* [  Integrations ](/docs/cloud/integrations/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Pricing ](https://capawesome.io/pricing/)
* [  FAQ ](/docs/cloud/faq/)
* [  Support ](/docs/cloud/support/)
* [  Contributing ](/docs/contributing/)
* [  LLMs ](/docs/llms/)
* [  Insiders ](/docs/insiders/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/insiders/support/)
* [  FAQ ](/docs/insiders/faq/)
* [  Blog ](/blog/)
* Categories

* [  Configuration ](#configuration)
* [  Demo ](#demo)
* [  Starter templates ](#starter-templates)
* [  Usage ](#usage)
* [  API ](#api)
* [  Type Aliases ](#type-aliases)
* [  Enums ](#enums)
* [  Changelog ](#changelog)
* [  License ](#license)

# @capacitor-firebase/remote-config[¶](#capacitor-firebaseremote-config "Permanent link")

Unofficial Capacitor plugin for [Firebase Remote Config](https://firebase.google.com/docs/remote-config).[1](#fn:1)

[ ![Deliver Live Updates to your Capacitor app with Capawesome Cloud](../../../assets/external/cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.69628c3f.png) ](https://cloud.capawesome.io/) 

## Newsletter[¶](#newsletter "Permanent link")

Stay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).

## Compatibility[¶](#compatibility "Permanent link")

| Plugin Version | Capacitor Version | Status         |
| -------------- | ----------------- | -------------- |
| 8.x.x          | \>=8.x.x          | Active support |
| 7.x.x          | 7.x.x             | Deprecated     |
| 6.x.x          | 6.x.x             | Deprecated     |
| 5.x.x          | 5.x.x             | Deprecated     |

## Installation[¶](#installation "Permanent link")

You can use our **AI-Assisted Setup** to install the plugin. Add the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:

`[](#%5F%5Fcodelineno-0-1)npx skills add capawesome-team/skills --skill capacitor-plugins
`

Then use the following prompt:

`` [](#%5F%5Fcodelineno-1-1)Use the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capacitor-firebase/remote-config` plugin in my project.
 ``

If you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:

`[](#%5F%5Fcodelineno-2-1)npm install @capacitor-firebase/remote-config firebase
[](#%5F%5Fcodelineno-2-2)npx cap sync
`

Add Firebase to your project if you haven't already ([Android](https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#android) / [iOS](https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#ios) / [Web](https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#web)).

### Android[¶](#android "Permanent link")

Google Analytics is required for the [conditional targeting of app instances](https://firebase.google.com/docs/remote-config/parameters#conditions%5Frules%5Fand%5Fconditional%5Fvalues) to user properties and audiences. Make sure that you install the [Capacitor Firebase Analytics](https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/analytics) plugin in your project.

#### Variables[¶](#variables "Permanent link")

If needed, you can define the following project variable in your app’s `variables.gradle` file to change the default version of the dependency:

* `$firebaseConfigVersion` version of `com.google.firebase:firebase-config` (default: `23.0.1`)

This can be useful if you encounter dependency conflicts with other plugins in your project.

## Configuration[¶](#configuration "Permanent link")

No configuration required for this plugin.

## Demo[¶](#demo "Permanent link")

A working example can be found here: [robingenz/capacitor-firebase-plugin-demo](https://github.com/robingenz/capacitor-firebase-plugin-demo)

## Starter templates[¶](#starter-templates "Permanent link")

The following starter templates are available:

* [Ionstarter Angular Firebase](https://ionstarter.dev/)

## Usage[¶](#usage "Permanent link")

`[](#%5F%5Fcodelineno-3-1)import { FirebaseRemoteConfig } from '@capacitor-firebase/remote-config';
[](#%5F%5Fcodelineno-3-2)
[](#%5F%5Fcodelineno-3-3)const activate = async () => {
[](#%5F%5Fcodelineno-3-4)  await FirebaseRemoteConfig.activate();
[](#%5F%5Fcodelineno-3-5)};
[](#%5F%5Fcodelineno-3-6)
[](#%5F%5Fcodelineno-3-7)const fetchAndActivate = async () => {
[](#%5F%5Fcodelineno-3-8)  await FirebaseRemoteConfig.fetchAndActivate();
[](#%5F%5Fcodelineno-3-9)};
[](#%5F%5Fcodelineno-3-10)
[](#%5F%5Fcodelineno-3-11)const fetchConfig = async () => {
[](#%5F%5Fcodelineno-3-12)  await FirebaseRemoteConfig.fetchConfig({
[](#%5F%5Fcodelineno-3-13)    minimumFetchIntervalInSeconds: 1200,
[](#%5F%5Fcodelineno-3-14)  });
[](#%5F%5Fcodelineno-3-15)};
[](#%5F%5Fcodelineno-3-16)
[](#%5F%5Fcodelineno-3-17)const getBoolean = async () => {
[](#%5F%5Fcodelineno-3-18)  const { value } = await FirebaseRemoteConfig.getBoolean({
[](#%5F%5Fcodelineno-3-19)    key: 'is_sale',
[](#%5F%5Fcodelineno-3-20)  });
[](#%5F%5Fcodelineno-3-21)  return value;
[](#%5F%5Fcodelineno-3-22)};
[](#%5F%5Fcodelineno-3-23)
[](#%5F%5Fcodelineno-3-24)const getNumber = async () => {
[](#%5F%5Fcodelineno-3-25)  const { value } = await FirebaseRemoteConfig.getNumber({
[](#%5F%5Fcodelineno-3-26)    key: 'upcoming_maintenance',
[](#%5F%5Fcodelineno-3-27)  });
[](#%5F%5Fcodelineno-3-28)  return value;
[](#%5F%5Fcodelineno-3-29)};
[](#%5F%5Fcodelineno-3-30)
[](#%5F%5Fcodelineno-3-31)const getString = async () => {
[](#%5F%5Fcodelineno-3-32)  const { value } = await FirebaseRemoteConfig.getString({
[](#%5F%5Fcodelineno-3-33)    key: 'license_key',
[](#%5F%5Fcodelineno-3-34)  });
[](#%5F%5Fcodelineno-3-35)  return value;
[](#%5F%5Fcodelineno-3-36)};
[](#%5F%5Fcodelineno-3-37)
[](#%5F%5Fcodelineno-3-38)const setSettings = async () => {
[](#%5F%5Fcodelineno-3-39)  await FirebaseRemoteConfig.setSettings({
[](#%5F%5Fcodelineno-3-40)    fetchTimeoutInSeconds: 10,
[](#%5F%5Fcodelineno-3-41)    minimumFetchIntervalInSeconds: 0,
[](#%5F%5Fcodelineno-3-42)  });
[](#%5F%5Fcodelineno-3-43)};
[](#%5F%5Fcodelineno-3-44)
[](#%5F%5Fcodelineno-3-45)const addConfigUpdateListener = async () => {
[](#%5F%5Fcodelineno-3-46)  const callbackId = await FirebaseRemoteConfig.addConfigUpdateListener(
[](#%5F%5Fcodelineno-3-47)    (event, error) => {
[](#%5F%5Fcodelineno-3-48)      if (error) {
[](#%5F%5Fcodelineno-3-49)        console.error(error);
[](#%5F%5Fcodelineno-3-50)      } else {
[](#%5F%5Fcodelineno-3-51)        console.log(event);
[](#%5F%5Fcodelineno-3-52)      }
[](#%5F%5Fcodelineno-3-53)    }
[](#%5F%5Fcodelineno-3-54)  );
[](#%5F%5Fcodelineno-3-55)  return callbackId;
[](#%5F%5Fcodelineno-3-56)};
[](#%5F%5Fcodelineno-3-57)
[](#%5F%5Fcodelineno-3-58)const removeConfigUpdateListener = async (callbackId: string) => {
[](#%5F%5Fcodelineno-3-59)  await FirebaseRemoteConfig.removeConfigUpdateListener({
[](#%5F%5Fcodelineno-3-60)    callbackId,
[](#%5F%5Fcodelineno-3-61)  });
[](#%5F%5Fcodelineno-3-62)};
[](#%5F%5Fcodelineno-3-63)
[](#%5F%5Fcodelineno-3-64)const removeAllListeners = async () => {
[](#%5F%5Fcodelineno-3-65)  await FirebaseRemoteConfig.removeAllListeners();
[](#%5F%5Fcodelineno-3-66)};
`

## API[¶](#api "Permanent link")

* [activate()](#activate)
* [fetchAndActivate()](#fetchandactivate)
* [fetchConfig(...)](#fetchconfig)
* [getBoolean(...)](#getboolean)
* [getNumber(...)](#getnumber)
* [getString(...)](#getstring)
* [getAll()](#getall)
* [getInfo()](#getinfo)
* [setMinimumFetchInterval(...)](#setminimumfetchinterval)
* [setDefaults(...)](#setdefaults)
* [setSettings(...)](#setsettings)
* [addConfigUpdateListener(...)](#addconfigupdatelistener)
* [removeConfigUpdateListener(...)](#removeconfigupdatelistener)
* [removeAllListeners()](#removealllisteners)
* [Interfaces](#interfaces)
* [Type Aliases](#type-aliases)
* [Enums](#enums)

### activate()[¶](#activate "Permanent link")

`[](#%5F%5Fcodelineno-4-1)activate() => Promise<void>
`

Make the last fetched configuration available to the getters.

**Since:** 1.3.0

---

### fetchAndActivate()[¶](#fetchandactivate "Permanent link")

`[](#%5F%5Fcodelineno-5-1)fetchAndActivate() => Promise<void>
`

Perform fetch and activate operations.

**Since:** 1.3.0

---

### fetchConfig(...)[¶](#fetchconfig "Permanent link")

`[](#%5F%5Fcodelineno-6-1)fetchConfig(options?: FetchConfigOptions | undefined) => Promise<void>
`

Fetch and cache configuration from the Remote Config service.

| Param       | Type                                      |
| ----------- | ----------------------------------------- |
| **options** | [FetchConfigOptions](#fetchconfigoptions) |

**Since:** 1.3.0

---

### getBoolean(...)[¶](#getboolean "Permanent link")

`[](#%5F%5Fcodelineno-7-1)getBoolean(options: GetBooleanOptions) => Promise<GetBooleanResult>
`

Get the value for the given key as a boolean.

| Param       | Type                      |
| ----------- | ------------------------- |
| **options** | [GetOptions](#getoptions) |

**Returns:** `Promise<[GetBooleanResult](#getbooleanresult)>`

**Since:** 1.3.0

---

### getNumber(...)[¶](#getnumber "Permanent link")

`[](#%5F%5Fcodelineno-8-1)getNumber(options: GetNumberOptions) => Promise<GetNumberResult>
`

Get the value for the given key as a number.

| Param       | Type                      |
| ----------- | ------------------------- |
| **options** | [GetOptions](#getoptions) |

**Returns:** `Promise<[GetNumberResult](#getnumberresult)>`

**Since:** 1.3.0

---

### getString(...)[¶](#getstring "Permanent link")

`[](#%5F%5Fcodelineno-9-1)getString(options: GetStringOptions) => Promise<GetStringResult>
`

Get the value for the given key as a string.

| Param       | Type                      |
| ----------- | ------------------------- |
| **options** | [GetOptions](#getoptions) |

**Returns:** `Promise<[GetStringResult](#getstringresult)>`

**Since:** 1.3.0

---

### getAll()[¶](#getall "Permanent link")

`[](#%5F%5Fcodelineno-10-1)getAll() => Promise<GetAllResult>
`

Get all the values from the Remote Config service.

**Returns:** `Promise<[GetAllResult](#getallresult)>`

**Since:** 8.3.0

---

### getInfo()[¶](#getinfo "Permanent link")

`[](#%5F%5Fcodelineno-11-1)getInfo() => Promise<GetInfoResult>
`

Get information about the last fetch operation.

**Returns:** `Promise<[GetInfoResult](#getinforesult)>`

**Since:** 7.5.0

---

### setMinimumFetchInterval(...)[¶](#setminimumfetchinterval "Permanent link")

`[](#%5F%5Fcodelineno-12-1)setMinimumFetchInterval(options: SetMinimumFetchIntervalOptions) => Promise<void>
`

Set the minimum fetch interval.

Only available for Web.

| Param       | Type                                                              |
| ----------- | ----------------------------------------------------------------- |
| **options** | [SetMinimumFetchIntervalOptions](#setminimumfetchintervaloptions) |

**Since:** 1.3.0

---

### setDefaults(...)[¶](#setdefaults "Permanent link")

`[](#%5F%5Fcodelineno-13-1)setDefaults(options: SetDefaultsOptions) => Promise<void>
`

Sets config defaults for parameter keys and values in the default namespace config.

| Param       | Type                                      |
| ----------- | ----------------------------------------- |
| **options** | [SetDefaultsOptions](#setdefaultsoptions) |

**Since:** 8.3.0

---

### setSettings(...)[¶](#setsettings "Permanent link")

`[](#%5F%5Fcodelineno-14-1)setSettings(options: SetSettingsOptions) => Promise<void>
`

Set the remote config settings.

On Android, the settings values are persisted in SharedPreferences.

| Param       | Type                                      |
| ----------- | ----------------------------------------- |
| **options** | [SetSettingsOptions](#setsettingsoptions) |

**Since:** 6.2.0

---

### addConfigUpdateListener(...)[¶](#addconfigupdatelistener "Permanent link")

`[](#%5F%5Fcodelineno-15-1)addConfigUpdateListener(callback: AddConfigUpdateListenerOptionsCallback) => Promise<CallbackId>
`

Add a listener for the config update event.

Only available for Android and iOS.

| Param        | Type                                                                              |
| ------------ | --------------------------------------------------------------------------------- |
| **callback** | [AddConfigUpdateListenerOptionsCallback](#addconfigupdatelisteneroptionscallback) |

**Returns:** `Promise<string>`

**Since:** 5.4.0

---

### removeConfigUpdateListener(...)[¶](#removeconfigupdatelistener "Permanent link")

`[](#%5F%5Fcodelineno-16-1)removeConfigUpdateListener(options: RemoveConfigUpdateListenerOptions) => Promise<void>
`

Remove a listener for the config update event.

Only available for Android and iOS.

| Param       | Type                                                                    |
| ----------- | ----------------------------------------------------------------------- |
| **options** | [RemoveConfigUpdateListenerOptions](#removeconfigupdatelisteneroptions) |

**Since:** 5.4.0

---

### removeAllListeners()[¶](#removealllisteners "Permanent link")

`[](#%5F%5Fcodelineno-17-1)removeAllListeners() => Promise<void>
`

Remove all listeners for this plugin.

**Since:** 5.4.0

---

### Interfaces[¶](#interfaces "Permanent link")

#### FetchConfigOptions[¶](#fetchconfigoptions "Permanent link")

| Prop                              | Type   | Description                                                                                                                                                                                                               | Default | Since |
| --------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----- |
| **minimumFetchIntervalInSeconds** | number | Define the maximum age in seconds of an entry in the config cache before it is considered stale. During development, it's recommended to set a relatively low minimum fetch interval. Only available for Android and iOS. | 43200   | 1.3.0 |

#### GetBooleanResult[¶](#getbooleanresult "Permanent link")

| Prop       | Type                              | Description                                     | Since |
| ---------- | --------------------------------- | ----------------------------------------------- | ----- |
| **value**  | boolean                           | The value for the given key as a boolean.       | 1.3.0 |
| **source** | [GetValueSource](#getvaluesource) | Indicates at which source this value came from. | 1.3.0 |

#### GetOptions[¶](#getoptions "Permanent link")

| Prop    | Type   | Description                  | Since |
| ------- | ------ | ---------------------------- | ----- |
| **key** | string | The key of the value to get. | 1.3.0 |

#### GetNumberResult[¶](#getnumberresult "Permanent link")

| Prop       | Type                              | Description                                     | Since |
| ---------- | --------------------------------- | ----------------------------------------------- | ----- |
| **value**  | number                            | The value for the given key as a number.        | 1.3.0 |
| **source** | [GetValueSource](#getvaluesource) | Indicates at which source this value came from. | 1.3.0 |

#### GetStringResult[¶](#getstringresult "Permanent link")

| Prop       | Type                              | Description                                     | Since |
| ---------- | --------------------------------- | ----------------------------------------------- | ----- |
| **value**  | string                            | The value for the given key as a string.        | 1.3.0 |
| **source** | [GetValueSource](#getvaluesource) | Indicates at which source this value came from. | 1.3.0 |

#### GetAllResult[¶](#getallresult "Permanent link")

| Prop       | Type                                                     | Description              | Since |
| ---------- | -------------------------------------------------------- | ------------------------ | ----- |
| **values** | Record<string, [GetAllResultValue](#getallresultvalue)\> | The values for all keys. | 8.3.0 |

#### GetAllResultValue[¶](#getallresultvalue "Permanent link")

| Prop       | Type                              | Description                                     | Since |
| ---------- | --------------------------------- | ----------------------------------------------- | ----- |
| **value**  | string                            | The value as a string.                          | 8.3.0 |
| **source** | [GetValueSource](#getvaluesource) | Indicates at which source this value came from. | 8.3.0 |

#### GetInfoResult[¶](#getinforesult "Permanent link")

| Prop                | Type                                | Description                                                                                                                      | Since |
| ------------------- | ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----- |
| **lastFetchTime**   | number                              | The Unix timestamp in milliseconds of the last successful fetch, or -1 if no fetch has occurred or initialization is incomplete. | 7.5.0 |
| **lastFetchStatus** | [LastFetchStatus](#lastfetchstatus) | The status of the last fetch attempt.                                                                                            | 7.5.0 |

#### SetMinimumFetchIntervalOptions[¶](#setminimumfetchintervaloptions "Permanent link")

| Prop                              | Type   | Description                                                                                                                                                                           | Default | Since |
| --------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----- |
| **minimumFetchIntervalInSeconds** | number | Define the maximum age in seconds of an entry in the config cache before it is considered stale. During development, it's recommended to set a relatively low minimum fetch interval. | 43200   | 1.3.0 |

#### SetDefaultsOptions[¶](#setdefaultsoptions "Permanent link")

| Prop         | Type                            | Description | Since                                                |       |
| ------------ | ------------------------------- | ----------- | ---------------------------------------------------- | ----- |
| **defaults** | Record<string, string \| number | boolean>    | Defines the dictionary of values to set as defaults. | 8.3.0 |

#### SetSettingsOptions[¶](#setsettingsoptions "Permanent link")

| Prop                              | Type   | Description                                                                                                                                                                           | Default | Since |
| --------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----- |
| **fetchTimeoutInSeconds**         | number | Defines the maximum amount of milliseconds to wait for a response when fetching configuration from the Remote Config server.                                                          | 60      | 6.2.0 |
| **minimumFetchIntervalInSeconds** | number | Define the maximum age in seconds of an entry in the config cache before it is considered stale. During development, it's recommended to set a relatively low minimum fetch interval. | 43200   | 6.2.0 |

#### AddConfigUpdateListenerOptionsCallbackEvent[¶](#addconfigupdatelisteneroptionscallbackevent "Permanent link")

| Prop            | Type       | Description                                                                        | Since |
| --------------- | ---------- | ---------------------------------------------------------------------------------- | ----- |
| **updatedKeys** | string\[\] | Parameter keys whose values have been updated from the currently activated values. | 5.4.0 |

#### RemoveConfigUpdateListenerOptions[¶](#removeconfigupdatelisteneroptions "Permanent link")

| Prop   | Type                      | Description                       | Since |
| ------ | ------------------------- | --------------------------------- | ----- |
| **id** | [CallbackId](#callbackid) | The id of the listener to remove. | 5.4.0 |

### Type Aliases[¶](#type-aliases "Permanent link")

#### GetBooleanOptions[¶](#getbooleanoptions "Permanent link")

`[GetOptions](#getoptions)`

#### GetNumberOptions[¶](#getnumberoptions "Permanent link")

`[GetOptions](#getoptions)`

#### GetStringOptions[¶](#getstringoptions "Permanent link")

`[GetOptions](#getoptions)`

#### AddConfigUpdateListenerOptionsCallback[¶](#addconfigupdatelisteneroptionscallback "Permanent link")

`(event: [AddConfigUpdateListenerOptionsCallbackEvent](#addconfigupdatelisteneroptionscallbackevent) | null, error: any): void`

#### CallbackId[¶](#callbackid "Permanent link")

`string`

### Enums[¶](#enums "Permanent link")

#### GetValueSource[¶](#getvaluesource "Permanent link")

| Members     | Value | Description                                                                             | Since |
| ----------- | ----- | --------------------------------------------------------------------------------------- | ----- |
| **Static**  | 0     | Indicates that the value returned is the static default value.                          | 1.3.0 |
| **Default** | 1     | Indicates that the value returned was retrieved from the defaults set by the client.    | 1.3.0 |
| **Remote**  | 2     | Indicates that the value returned was retrieved from the Firebase Remote Config Server. | 1.3.0 |

#### LastFetchStatus[¶](#lastfetchstatus "Permanent link")

| Members        | Value |
| -------------- | ----- |
| **NoFetchYet** | 0     |
| **Success**    | 1     |
| **Failure**    | 2     |
| **Throttled**  | 3     |

## Changelog[¶](#changelog "Permanent link")

See [CHANGELOG.md](https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/remote-config/CHANGELOG.md).

## License[¶](#license "Permanent link")

See [LICENSE](https://github.com/capawesome-team/capacitor-firebase/blob/main/packages/remote-config/LICENSE).

---

1. This project is not affiliated with, endorsed by, sponsored by, or approved by Google LLC or any of their affiliates or subsidiaries. [↩](#fnref:1 "Jump back to footnote 1 in the text")

May 17, 2026 

 Back to top 