Remote Config API Reference
This section documents all Firebase Remote Config Blueprint nodes provided by the plugin. These nodes allow you to initialize Remote Config, fetch and activate values, read configuration parameters, and define default values.
All Remote Config nodes require Firebase to be successfully initialized before use.
Remote Config Initialization
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Initialize Remote Config | – | – | Initializes the Firebase Remote Config subsystem. This should be called once before performing any fetch or activate operations. |
Fetch and Activate
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Fetch and Activate Remote Config | – | On Success: Called when Remote Config values are fetched and activated successfully. On Failure (Error Message, Error Code): Called if fetch or activation fails. |
Fetches Remote Config values from the server and immediately activates them. This is the recommended approach for most use cases. |
| Fetch Remote Config | TimeoutSeconds (int64) |
On Success: Called when values are fetched successfully. On Failure (Error Message, Error Code): Called if fetching fails. |
Fetches Remote Config values asynchronously without activating them. |
| Activate Remote Config | – | On Success: Called when the last fetched values are activated. On Failure (Error Message, Error Code): Called if activation fails. |
Activates the most recently fetched Remote Config values. |
Getters
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Get Remote Config String | Key (string) |
string |
Returns the string value associated with the specified Remote Config key. |
| Get Remote Config Boolean | Key (string) |
bool |
Returns the boolean value associated with the specified Remote Config key. |
| Get Remote Config Long | Key (string) |
int64 |
Returns the integer value associated with the specified Remote Config key. |
| Get Remote Config Double | Key (string) |
double |
Returns the floating-point value associated with the specified Remote Config key. |
Defaults
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Set Remote Config Defaults | StringKeys, StringValues, IntKeys, IntValues, FloatKeys, FloatValues, BoolKeys, BoolValues |
On Success: Called when default values are applied successfully. On Failure (Error Message, Error Code): Called if applying defaults fails. |
Sets default Remote Config values for multiple types. Defaults are used when no fetched value exists for a key. |