{"_id":"@capgo/capacitor-firebase-remote-config","_rev":"5-d65ed76106b16ab47205c4af04d2f2f4","name":"@capgo/capacitor-firebase-remote-config","dist-tags":{"latest":"8.3.1"},"versions":{"7.4.0":{"name":"@capgo/capacitor-firebase-remote-config","version":"7.4.0","keywords":["capacitor","plugin","native"],"author":{"name":"Capgo Team"},"license":"Apache-2.0","_id":"@capgo/capacitor-firebase-remote-config@7.4.0","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"f5f51fab4aca21cfd10a473d38f552aeca45510b","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-remote-config/-/capacitor-firebase-remote-config-7.4.0.tgz","fileCount":43,"integrity":"sha512-AsQoGjkJP2uaNJZwfcNqJ6cm19xLX1mj/ZH0QOP3Y3bEPGOKA+AntH4Vb3Ix5EogG3BS9CbF82LEuGTnBScG8A==","signatures":[{"sig":"MEYCIQCA+DVgx6ABLHSy8yxF5oumCh45CkUTvzENHBpI19o06wIhAL9dVBN6lp7c5DpvTrBv0RrN2K7bVsYSieFgvTEd9oRs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139130},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"97786da96a720a520f80ac1031a0f12063f135d7","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseRemoteConfigPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorFirebaseRemoteConfig -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor plugin for Firebase Remote Config.","directories":{},"_nodeVersion":"24.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/ios":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"2.0.0"},"peerDependencies":{"firebase":"12.6.0","@capacitor/core":">=7.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/capacitor-firebase-remote-config_7.4.0_1763999194428_0.8073868832735411","host":"s3://npm-registry-packages-npm-production"}},"7.4.1":{"name":"@capgo/capacitor-firebase-remote-config","version":"7.4.1","keywords":["capacitor","plugin","native"],"author":{"name":"Capgo Team"},"license":"Apache-2.0","_id":"@capgo/capacitor-firebase-remote-config@7.4.1","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"035f6f3363c9c2cba5c4055730b51eec592f56a2","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-remote-config/-/capacitor-firebase-remote-config-7.4.1.tgz","fileCount":43,"integrity":"sha512-SZLRpDi4AhIDQOkIuU3Vg9cPIIexc+Au87bKBDCXBwYy+to08B//hIT4Y8BiBDcKvvXTiEvdV5pyhBjXBw2cTw==","signatures":[{"sig":"MEQCID8ArNUDVsKO3kDW6loIvWB31XdOcBucOqFudgh81Qe1AiBD/K6nms8wMOd6MyyQR9RJka04JT3e6HcyeQsyRJIWfA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139130},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"c965f5a7def32792245434af874be9775557c34d","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseRemoteConfigPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorFirebaseRemoteConfig -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor plugin for Firebase Remote Config.","directories":{},"_nodeVersion":"24.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/ios":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"2.0.0"},"peerDependencies":{"firebase":"12.6.0","@capacitor/core":">=7.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/capacitor-firebase-remote-config_7.4.1_1763999756111_0.47384305046443687","host":"s3://npm-registry-packages-npm-production"}},"7.4.2":{"name":"@capgo/capacitor-firebase-remote-config","version":"7.4.2","keywords":["capacitor","plugin","native"],"author":{"name":"Capgo Team"},"license":"MPL-2.0","_id":"@capgo/capacitor-firebase-remote-config@7.4.2","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"f1319e08748a05f5f2cda43b7e2ca2860dad3804","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-remote-config/-/capacitor-firebase-remote-config-7.4.2.tgz","fileCount":43,"integrity":"sha512-FVBljZ87pz0uy4njuCc6pz/nc132ul1mNumvMItHXTrYQfnEzpszetP0hAYNLKLw486N46PWCfVLFgWOqpDnVg==","signatures":[{"sig":"MEYCIQDEqqlFySheqAd0OmHbZZX81zTylaoMRc7e9mHd+DkN9AIhAIWFYVEvnUcHn3m75WrcLxMjUQHFBsIDGc/+HdQGH8jm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144512},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"8d8a06c3dfefe13eb43aaf4313ef701ee9a76767","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseRemoteConfigPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorFirebaseRemoteConfig -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor plugin for Firebase Remote Config.","directories":{},"_nodeVersion":"24.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/ios":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"2.0.0"},"peerDependencies":{"firebase":"12.6.0","@capacitor/core":">=7.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/capacitor-firebase-remote-config_7.4.2_1764858728413_0.13785886557189264","host":"s3://npm-registry-packages-npm-production"}},"8.3.1":{"_id":"@capgo/capacitor-firebase-remote-config@8.3.1","bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"dist":{"shasum":"7a73850d52066a406cc4e2c5d50f462da5a5f228","tarball":"https://registry.npmjs.org/@capgo/capacitor-firebase-remote-config/-/capacitor-firebase-remote-config-8.3.1.tgz","integrity":"sha512-7mlybe9ACgFH/+uIMNiMWMOmc08VpjrHP9PWQ8rpBIAYxdhiFx5rPlFNvuMCYiRN6kXIPynePPgwH/n5uNS/zQ==","fileCount":43,"unpackedSize":170990,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-firebase-remote-config@8.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF/eGRCS9hcqA/9224716VZPGFvLdmrprd7f8d51v66WAiB5Yz/ayQ+VI1dGsU1LyNfxrXkZWOUtHCzxmg3Mt9hevA=="}]},"main":"dist/plugin.cjs.js","name":"@capgo/capacitor-firebase-remote-config","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Capgo Team"},"module":"dist/esm/index.js","gitHead":"1892c5a6818507426883b253b4662eaba0fc6941","license":"MPL-2.0","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api FirebaseRemoteConfigPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"version":"8.3.1","_npmUser":{"name":"torichancapgo","email":"tori@capgo.app","approver":{"name":"torichancapgo","email":"tori@capgo.app"}},"homepage":"https://capgo.app/","keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"_npmVersion":"11.19.1","description":"Capacitor plugin for Firebase Remote Config.","directories":{},"maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","firebase":"12.6.0","prettier":"3.4.2","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"firebase":"^12.6.0","@capacitor/core":">=8.0.0"},"peerDependenciesMeta":{"firebase":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-firebase-remote-config_8.3.1_1789405727268_0.7806321232157112"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-24T15:46:34.302Z","modified":"2026-09-14T17:08:47.688Z","7.4.0":"2025-11-24T15:46:34.624Z","7.4.1":"2025-11-24T15:55:56.328Z","7.4.2":"2025-12-04T14:32:08.551Z","8.3.1":"2026-09-14T17:08:47.364Z"},"bugs":{"url":"https://github.com/Cap-go/capacitor-firebase/issues"},"author":{"name":"Capgo Team"},"license":"MPL-2.0","homepage":"https://capgo.app/","keywords":["capacitor","plugin","native"],"repository":{"url":"git+https://github.com/Cap-go/capacitor-firebase.git","type":"git"},"description":"Capacitor plugin for Firebase Remote Config.","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"readme":"# @capgo/capacitor-firebase-remote-config\n<a href=\"https://capgo.app/\"><img src=\"https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-firebase\" alt=\"Capgo - Instant updates for Capacitor\" /></a>\n\n<div align=\"center\">\n  <h2><a href=\"https://capgo.app/?ref=plugin\"> ➡️ Get Instant updates for your App with Capgo</a></h2>\n  <h2><a href=\"https://capgo.app/consulting/?ref=plugin\"> Missing a feature? We'll build the plugin for you 💪</a></h2>\n</div>\n\nUnofficial Capacitor plugin for [Firebase Remote Config](https://firebase.google.com/docs/remote-config).[^1]\n\n## Compatibility\n\n| Plugin Version | Capacitor Version | Status         |\n| -------------- | ----------------- | -------------- |\n| 8.x.x          | >=8.x.x           | Active support |\n| 7.x.x          | 7.x.x             | Deprecated     |\n| 6.x.x          | 6.x.x             | Deprecated     |\n| 5.x.x          | 5.x.x             | Deprecated     |\n\n## Installation\n\nYou can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:\n\n```bash\nnpx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```text\nUse the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-firebase-remote-config` plugin in my project.\n```\n\nIf you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capgo/capacitor-firebase-remote-config firebase\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://github.com/cap-go/capacitor-firebase/blob/main/docs/firebase-setup.md#android) / [iOS](https://github.com/cap-go/capacitor-firebase/blob/main/docs/firebase-setup.md#ios) / [Web](https://github.com/cap-go/capacitor-firebase/blob/main/docs/firebase-setup.md#web)).\n\n### Android\n\nGoogle Analytics is required for the [conditional targeting of app instances](https://firebase.google.com/docs/remote-config/parameters#conditions_rules_and_conditional_values) to user properties and audiences. Make sure that you install the [Capacitor Firebase Analytics](https://github.com/cap-go/capacitor-firebase/blob/main/packages/analytics) plugin in your project.\n\n#### Variables\n\nIf needed, you can define the following project variable in your app’s `variables.gradle` file to change the default version of the dependency:\n\n- `$firebaseConfigVersion` version of `com.google.firebase:firebase-config` (default: `23.0.1`)\n\nThis can be useful if you encounter dependency conflicts with other plugins in your project.\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Demo\n\nA working example can be found here: [robingenz/capacitor-firebase-plugin-demo](https://github.com/robingenz/capacitor-firebase-plugin-demo)\n\n## Starter templates\n\nThe following starter templates are available:\n\n- [Ionstarter Angular Firebase](https://ionstarter.dev/)\n\n## Usage\n\n```typescript\nimport { FirebaseRemoteConfig } from '@capgo/capacitor-firebase-remote-config';\n\nconst activate = async () => {\n  await FirebaseRemoteConfig.activate();\n};\n\nconst fetchAndActivate = async () => {\n  await FirebaseRemoteConfig.fetchAndActivate();\n};\n\nconst fetchConfig = async () => {\n  await FirebaseRemoteConfig.fetchConfig({\n    minimumFetchIntervalInSeconds: 1200,\n  });\n};\n\nconst getBoolean = async () => {\n  const { value } = await FirebaseRemoteConfig.getBoolean({\n    key: 'is_sale',\n  });\n  return value;\n};\n\nconst getNumber = async () => {\n  const { value } = await FirebaseRemoteConfig.getNumber({\n    key: 'upcoming_maintenance',\n  });\n  return value;\n};\n\nconst getString = async () => {\n  const { value } = await FirebaseRemoteConfig.getString({\n    key: 'license_key',\n  });\n  return value;\n};\n\nconst setSettings = async () => {\n  await FirebaseRemoteConfig.setSettings({\n    fetchTimeoutInSeconds: 10,\n    minimumFetchIntervalInSeconds: 0,\n  });\n};\n\nconst addConfigUpdateListener = async () => {\n  const callbackId = await FirebaseRemoteConfig.addConfigUpdateListener(\n    (event, error) => {\n      if (error) {\n        console.error(error);\n      } else {\n        console.log(event);\n      }\n    }\n  );\n  return callbackId;\n};\n\nconst removeConfigUpdateListener = async (callbackId: string) => {\n  await FirebaseRemoteConfig.removeConfigUpdateListener({\n    callbackId,\n  });\n};\n\nconst removeAllListeners = async () => {\n  await FirebaseRemoteConfig.removeAllListeners();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`activate()`](#activate)\n* [`fetchAndActivate()`](#fetchandactivate)\n* [`fetchConfig(...)`](#fetchconfig)\n* [`getBoolean(...)`](#getboolean)\n* [`getNumber(...)`](#getnumber)\n* [`getString(...)`](#getstring)\n* [`getAll()`](#getall)\n* [`getInfo()`](#getinfo)\n* [`setMinimumFetchInterval(...)`](#setminimumfetchinterval)\n* [`setDefaults(...)`](#setdefaults)\n* [`setSettings(...)`](#setsettings)\n* [`addConfigUpdateListener(...)`](#addconfigupdatelistener)\n* [`removeConfigUpdateListener(...)`](#removeconfigupdatelistener)\n* [`removeAllListeners()`](#removealllisteners)\n* [`getPluginVersion()`](#getpluginversion)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n* [Enums](#enums)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### activate()\n\n```typescript\nactivate() => Promise<void>\n```\n\nMake the last fetched configuration available to the getters.\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### fetchAndActivate()\n\n```typescript\nfetchAndActivate() => Promise<void>\n```\n\nPerform fetch and activate operations.\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### fetchConfig(...)\n\n```typescript\nfetchConfig(options?: FetchConfigOptions | undefined) => Promise<void>\n```\n\nFetch and cache configuration from the Remote Config service.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#fetchconfigoptions\">FetchConfigOptions</a></code> |\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### getBoolean(...)\n\n```typescript\ngetBoolean(options: GetBooleanOptions) => Promise<GetBooleanResult>\n```\n\nGet the value for the given key as a boolean.\n\n| Param         | Type                                              |\n| ------------- | ------------------------------------------------- |\n| **`options`** | <code><a href=\"#getoptions\">GetOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getbooleanresult\">GetBooleanResult</a>&gt;</code>\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### getNumber(...)\n\n```typescript\ngetNumber(options: GetNumberOptions) => Promise<GetNumberResult>\n```\n\nGet the value for the given key as a number.\n\n| Param         | Type                                              |\n| ------------- | ------------------------------------------------- |\n| **`options`** | <code><a href=\"#getoptions\">GetOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getnumberresult\">GetNumberResult</a>&gt;</code>\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### getString(...)\n\n```typescript\ngetString(options: GetStringOptions) => Promise<GetStringResult>\n```\n\nGet the value for the given key as a string.\n\n| Param         | Type                                              |\n| ------------- | ------------------------------------------------- |\n| **`options`** | <code><a href=\"#getoptions\">GetOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getstringresult\">GetStringResult</a>&gt;</code>\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### getAll()\n\n```typescript\ngetAll() => Promise<GetAllResult>\n```\n\nGet all the values from the Remote Config service.\n\n**Returns:** <code>Promise&lt;<a href=\"#getallresult\">GetAllResult</a>&gt;</code>\n\n**Since:** 8.3.0\n\n--------------------\n\n\n### getInfo()\n\n```typescript\ngetInfo() => Promise<GetInfoResult>\n```\n\nGet information about the last fetch operation.\n\n**Returns:** <code>Promise&lt;<a href=\"#getinforesult\">GetInfoResult</a>&gt;</code>\n\n**Since:** 7.5.0\n\n--------------------\n\n\n### setMinimumFetchInterval(...)\n\n```typescript\nsetMinimumFetchInterval(options: SetMinimumFetchIntervalOptions) => Promise<void>\n```\n\nSet the minimum fetch interval.\n\nOnly available for Web.\n\n| Param         | Type                                                                                      |\n| ------------- | ----------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setminimumfetchintervaloptions\">SetMinimumFetchIntervalOptions</a></code> |\n\n**Since:** 1.3.0\n\n--------------------\n\n\n### setDefaults(...)\n\n```typescript\nsetDefaults(options: SetDefaultsOptions) => Promise<void>\n```\n\nSets config defaults for parameter keys and values in the default namespace config.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setdefaultsoptions\">SetDefaultsOptions</a></code> |\n\n**Since:** 8.3.0\n\n--------------------\n\n\n### setSettings(...)\n\n```typescript\nsetSettings(options: SetSettingsOptions) => Promise<void>\n```\n\nSet the remote config settings.\n\nOn Android, the settings values are persisted in SharedPreferences.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setsettingsoptions\">SetSettingsOptions</a></code> |\n\n**Since:** 6.2.0\n\n--------------------\n\n\n### addConfigUpdateListener(...)\n\n```typescript\naddConfigUpdateListener(callback: AddConfigUpdateListenerOptionsCallback) => Promise<CallbackId>\n```\n\nAdd a listener for the config update event.\n\nOnly available for Android and iOS.\n\n| Param          | Type                                                                                                      |\n| -------------- | --------------------------------------------------------------------------------------------------------- |\n| **`callback`** | <code><a href=\"#addconfigupdatelisteneroptionscallback\">AddConfigUpdateListenerOptionsCallback</a></code> |\n\n**Returns:** <code>Promise&lt;string&gt;</code>\n\n**Since:** 5.4.0\n\n--------------------\n\n\n### removeConfigUpdateListener(...)\n\n```typescript\nremoveConfigUpdateListener(options: RemoveConfigUpdateListenerOptions) => Promise<void>\n```\n\nRemove a listener for the config update event.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                            |\n| ------------- | ----------------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#removeconfigupdatelisteneroptions\">RemoveConfigUpdateListenerOptions</a></code> |\n\n**Since:** 5.4.0\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n**Since:** 5.4.0\n\n--------------------\n\n\n### getPluginVersion()\n\n```typescript\ngetPluginVersion() => Promise<GetPluginVersionResult>\n```\n\nGet the version of this plugin.\n\n**Returns:** <code>Promise&lt;<a href=\"#getpluginversionresult\">GetPluginVersionResult</a>&gt;</code>\n\n**Since:** 8.0.1\n\n--------------------\n\n\n### Interfaces\n\n\n#### FetchConfigOptions\n\n| Prop                                | Type                | Description                                                                                                                                                                                                               | Default            | Since |\n| ----------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`minimumFetchIntervalInSeconds`** | <code>number</code> | 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. | <code>43200</code> | 1.3.0 |\n\n\n#### GetBooleanResult\n\n| Prop         | Type                                                      | Description                                     | Since |\n| ------------ | --------------------------------------------------------- | ----------------------------------------------- | ----- |\n| **`value`**  | <code>boolean</code>                                      | The value for the given key as a boolean.       | 1.3.0 |\n| **`source`** | <code><a href=\"#getvaluesource\">GetValueSource</a></code> | Indicates at which source this value came from. | 1.3.0 |\n\n\n#### GetOptions\n\n| Prop      | Type                | Description                  | Since |\n| --------- | ------------------- | ---------------------------- | ----- |\n| **`key`** | <code>string</code> | The key of the value to get. | 1.3.0 |\n\n\n#### GetNumberResult\n\n| Prop         | Type                                                      | Description                                     | Since |\n| ------------ | --------------------------------------------------------- | ----------------------------------------------- | ----- |\n| **`value`**  | <code>number</code>                                       | The value for the given key as a number.        | 1.3.0 |\n| **`source`** | <code><a href=\"#getvaluesource\">GetValueSource</a></code> | Indicates at which source this value came from. | 1.3.0 |\n\n\n#### GetStringResult\n\n| Prop         | Type                                                      | Description                                     | Since |\n| ------------ | --------------------------------------------------------- | ----------------------------------------------- | ----- |\n| **`value`**  | <code>string</code>                                       | The value for the given key as a string.        | 1.3.0 |\n| **`source`** | <code><a href=\"#getvaluesource\">GetValueSource</a></code> | Indicates at which source this value came from. | 1.3.0 |\n\n\n#### GetAllResult\n\n| Prop         | Type                                                                                  | Description              | Since |\n| ------------ | ------------------------------------------------------------------------------------- | ------------------------ | ----- |\n| **`values`** | <code>Record&lt;string, <a href=\"#getallresultvalue\">GetAllResultValue</a>&gt;</code> | The values for all keys. | 8.3.0 |\n\n\n#### GetAllResultValue\n\n| Prop         | Type                                                      | Description                                     | Since |\n| ------------ | --------------------------------------------------------- | ----------------------------------------------- | ----- |\n| **`value`**  | <code>string</code>                                       | The value as a string.                          | 8.3.0 |\n| **`source`** | <code><a href=\"#getvaluesource\">GetValueSource</a></code> | Indicates at which source this value came from. | 8.3.0 |\n\n\n#### GetInfoResult\n\n| Prop                  | Type                                                        | Description                                                                                                                      | Since |\n| --------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`lastFetchTime`**   | <code>number</code>                                         | The Unix timestamp in milliseconds of the last successful fetch, or -1 if no fetch has occurred or initialization is incomplete. | 7.5.0 |\n| **`lastFetchStatus`** | <code><a href=\"#lastfetchstatus\">LastFetchStatus</a></code> | The status of the last fetch attempt.                                                                                            | 7.5.0 |\n\n\n#### SetMinimumFetchIntervalOptions\n\n| Prop                                | Type                | Description                                                                                                                                                                           | Default            | Since |\n| ----------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`minimumFetchIntervalInSeconds`** | <code>number</code> | 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. | <code>43200</code> | 1.3.0 |\n\n\n#### SetDefaultsOptions\n\n| Prop           | Type                                                           | Description                                          | Since |\n| -------------- | -------------------------------------------------------------- | ---------------------------------------------------- | ----- |\n| **`defaults`** | <code>Record&lt;string, string \\| number \\| boolean&gt;</code> | Defines the dictionary of values to set as defaults. | 8.3.0 |\n\n\n#### SetSettingsOptions\n\n| Prop                                | Type                | Description                                                                                                                                                                           | Default            | Since |\n| ----------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`fetchTimeoutInSeconds`**         | <code>number</code> | Defines the maximum amount of milliseconds to wait for a response when fetching configuration from the Remote Config server.                                                          | <code>60</code>    | 6.2.0 |\n| **`minimumFetchIntervalInSeconds`** | <code>number</code> | 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. | <code>43200</code> | 6.2.0 |\n\n\n#### AddConfigUpdateListenerOptionsCallbackEvent\n\n| Prop              | Type                  | Description                                                                        | Since |\n| ----------------- | --------------------- | ---------------------------------------------------------------------------------- | ----- |\n| **`updatedKeys`** | <code>string[]</code> | Parameter keys whose values have been updated from the currently activated values. | 5.4.0 |\n\n\n#### RemoveConfigUpdateListenerOptions\n\n| Prop     | Type                                              | Description                       | Since |\n| -------- | ------------------------------------------------- | --------------------------------- | ----- |\n| **`id`** | <code><a href=\"#callbackid\">CallbackId</a></code> | The id of the listener to remove. | 5.4.0 |\n\n\n#### GetPluginVersionResult\n\n| Prop          | Type                | Description                          | Since |\n| ------------- | ------------------- | ------------------------------------ | ----- |\n| **`version`** | <code>string</code> | The semantic version of this plugin. | 8.0.1 |\n\n\n### Type Aliases\n\n\n#### GetBooleanOptions\n\n<code><a href=\"#getoptions\">GetOptions</a></code>\n\n\n#### GetNumberOptions\n\n<code><a href=\"#getoptions\">GetOptions</a></code>\n\n\n#### GetStringOptions\n\n<code><a href=\"#getoptions\">GetOptions</a></code>\n\n\n#### AddConfigUpdateListenerOptionsCallback\n\n<code>(event: <a href=\"#addconfigupdatelisteneroptionscallbackevent\">AddConfigUpdateListenerOptionsCallbackEvent</a> | null, error: any): void</code>\n\n\n#### CallbackId\n\n<code>string</code>\n\n\n### Enums\n\n\n#### GetValueSource\n\n| Members       | Value          | Description                                                                             | Since |\n| ------------- | -------------- | --------------------------------------------------------------------------------------- | ----- |\n| **`Static`**  | <code>0</code> | Indicates that the value returned is the static default value.                          | 1.3.0 |\n| **`Default`** | <code>1</code> | Indicates that the value returned was retrieved from the defaults set by the client.    | 1.3.0 |\n| **`Remote`**  | <code>2</code> | Indicates that the value returned was retrieved from the Firebase Remote Config Server. | 1.3.0 |\n\n\n#### LastFetchStatus\n\n| Members          | Value          |\n| ---------------- | -------------- |\n| **`NoFetchYet`** | <code>0</code> |\n| **`Success`**    | <code>1</code> |\n| **`Failure`**    | <code>2</code> |\n| **`Throttled`**  | <code>3</code> |\n\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/cap-go/capacitor-firebase/blob/main/packages/remote-config/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/cap-go/capacitor-firebase/blob/main/packages/remote-config/LICENSE).\n\n[^1]: This project is not affiliated with, endorsed by, sponsored by, or approved by Google LLC or any of their affiliates or subsidiaries.\n","readmeFilename":"README.md"}