Nest Engineering Docs
Raven Desktop

Configuration

Runtime configuration for Raven Desktop

App configuration

Raven Desktop uses Envied to embed .env values into lib/env/env.g.dart at build time. The local environment file lives in apps/raven/.env.

Required environment variables

NamePurpose
SENTRY_DSNSentry project DSN. Leave empty to disable Sentry in release.
STATSIG_CLIENT_KEYStatsig client key. If empty, Statsig is disabled.
RAVEN_SERVICE_URLBase URL for services/raven ConnectRPC (HTTP/2).

Optional environment variables

NamePurpose
AUTO_UPDATER_FEED_URL_MACOSSparkle appcast fallback for macOS updates.
AUTO_UPDATER_FEED_URL_WINDOWSWindows feed fallback (unused today).
MS_CLIENT_IDMicrosoft OAuth client ID for SSO.
MS_REDIRECT_URIOAuth redirect URI (default: com.nest.raven.app://auth).
MS_TENANT_IDMicrosoft tenant ID (default: common).

Regenerating env bindings

If you change .env, regenerate Envied bindings:

cd apps/raven
dart run build_runner build --delete-conflicting-outputs

Firebase configuration

Firebase options are generated by the FlutterFire CLI in lib/firebase_options.dart. If Firebase project settings change, re-run the FlutterFire CLI and commit the updated file.

macOS permissions

  • Screen Recording for OCR capture.
  • Accessibility for automation workflows.

Last updated on