Vai al contenuto

@capgo/capacitor-firebase-remote-config

Capacitor plugin for Firebase Remote Config.

Capacitor plugin for Firebase Remote Config.

  • activate - Make the last fetched configuration available to the getters.
  • fetchAndActivate - Perform fetch and activate operations.
  • fetchConfig - Fetch and cache configuration from the Remote Config service.
  • getBoolean - Get the value for the given key as a boolean.
MethodDescription
activateMake the last fetched configuration available to the getters.
fetchAndActivatePerform fetch and activate operations.
fetchConfigFetch and cache configuration from the Remote Config service.
getBooleanGet the value for the given key as a boolean.
getNumberGet the value for the given key as a number.
getStringGet the value for the given key as a string.
getInfoGet information about the last fetch operation.
setMinimumFetchIntervalSet the minimum fetch interval.
setSettingsSet the remote config settings.
addConfigUpdateListenerAdd a listener for the config update event.
removeConfigUpdateListenerRemove a listener for the config update event.
removeAllListenersRemove all listeners for this plugin.
getPluginVersionGet the version of this plugin.

This reference is synced from src/definitions.ts in capacitor-firebase.