Collection of methods that allow an Eitri-App to interact with the Firebase Remote Config service.

Methods

Methods

  • Returns the parameter value for the given key as a string

    const modules = await Eitri.modules();
    const getString = modules?.remoteConfig?.getString;
    if (!getString) return;
    await getString("envKey")

    Parameters

    • param: { key: string }

      Object containing a Firebase Remote Config parameter key for destructuring.

      • key: string

        A Firebase Remote Config parameter key.

    Returns Promise<null | string>

    • A string representing the value of the Firebase Remote Config parameter with the given key.