Zum Inhalt springen

@capgo/capacitor-env

Deliver tenant-specific settings without new builds by reading secure configuration values directly from Capacitor.

Capgo Env lets you store secrets and per-build configuration inside capacitor.config.* and resolve them at runtime through a simple API.

Runtime configuration

Read values from native config files without shipping them in your JavaScript bundle.

Per build overrides

Create multiple app flavors or tenants by providing different config files.

Typesafe access

Fetch keys with TypeScript support and centralize fallback logic.

Secure by default

Keep API keys and secrets out of Git while still shipping them with native binaries.

Follow the getting started guide to declare keys in your Capacitor config and fetch them safely across platforms.