Skip to content

feat(config): introduce Remote Config for audio properties #80

Description

@masch

Feature Request: Configure Audio Player Settings Remotely

Problem Description

Currently, audio properties such as the rewind offset (rewindOffsetMs) are statically declared inside src/config/app-config.ts. Changing these parameters requires modifying the code and re-releasing/re-compiling a new application bundle.

Proposed Solution

Introduce Firebase Remote Config (or a similar backend config provider) to dynamically fetch and override these settings in real-time or at application startup.

Steps

  1. Configure Firebase Remote Config parameters for audio_rewind_offset_ms in the Firebase Console.
  2. Implement a Remote Config service layer (e.g. src/storage/remote-config.ts) to fetch and cache settings.
  3. Expose a hook useRemoteConfig or update APP_CONFIG dynamically at runtime.
  4. Fall back to local parameters in src/config/app-config.ts if offline or the server keys are not yet configured.

Code Context

  • src/config/app-config.ts
  • src/components/trip-detail-view.tsx

Created dynamically as a task artifact on 2026-06-10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions