Skip to content

@capgo/capacitor-env

Capacitor plugin for accessing environment variables in native code.

Capacitor plugin for accessing environment variables in native code.

  • getKey - Retrieves the value of a specific environment variable by key.
MethodDescription
getKeyRetrieves the value of a specific environment variable by key.
getPluginVersionGet the version of the native Capacitor plugin.

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

If you are using @capgo/capacitor-env to plan native plugin work, connect it with Using @capgo/capacitor-env for the native capability in Using @capgo/capacitor-env, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.