Secrets & Local Setup
July 11, 2026 ยท View on GitHub
Namida Sync requires certain secrets (API keys, client secrets) for Google Drive and Firebase integration.
Setting Up Secrets
- Copy the Example File:
- Copy
lib/utils/credentials.dart.exampletolib/utils/credentials.dart. - Or, if using environment variables, copy
.env.exampleto.env.
- Copy
- Fill in Your Credentials:
- Add your Google API keys, client secrets, and any other required values.
- Never Commit Secrets:
.gitignoreis set up to ignore these files. Double-check before committing.
What to Never Commit
.env,.env.*,*.keystore,*.jks,*.p8,*.p12,*.pem,*.crt,*.cer,*.der,*.key,serviceAccountKey.json,*.secret.json,*.private.json,*.credentials.json, and any file containing secrets.
References
- See CONTRIBUTING.md for more info.