This repository does NOT include sensitive credentials for security reasons. You must create and configure your own:
File: service-account.json
Location: Project root (already gitignored)
To create:
- Go to Firebase Console → Your Project
- Click ⚙️ Settings → Service Accounts
- Click "Generate New Private Key"
- Save as
service-account.jsonin the project root
File: android/app/google-services.json
Already gitignored: ✅
To create:
- Firebase Console → Project Settings → General
- Under "Your apps" → Android app
- Download
google-services.json - Place in
android/app/
File: ios/Runner/GoogleService-Info.plist
Already gitignored: ✅
To create:
- Firebase Console → Project Settings → General
- Under "Your apps" → iOS app
- Download
GoogleService-Info.plist - Place in
ios/Runner/
File: android/app/src/main/AndroidManifest.xml
Current placeholder in code:
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="YOUR_REAL_API_KEY_HERE" />To get your API key:
- Go to Google Cloud Console
- Enable "Maps SDK for Android"
- Go to APIs & Services → Credentials
- Create/Copy your API Key
- Replace
YOUR_REAL_API_KEY_HEREwith your actual key
com.traceme.traceme
The following sensitive files are automatically excluded from version control:
service-account.json
service-account/
android/app/google-services.json
ios/Runner/GoogleService-Info.plist
*.keystore
*.jks
*.p12
*.key
.env*
android/local.properties
Before contributing or deploying:
- Verified
service-account.jsonis NOT in git (git ls-files | grep service-accountshould return nothing) - Checked
google-services.jsonis NOT in git - Maps API key is restricted to your app's package name
- No hardcoded API keys or tokens in source code
- Firebase security rules are properly deployed
- All
.envfiles are gitignored
- Immediately rotate the compromised credentials
- Remove from git history:
git filter-branch --force --index-filter \ "git rm --cached --ignore-unmatch path/to/secret/file" \ --prune-empty --tag-name-filter cat -- --all - Force push:
git push origin --force --all - Notify your team if it's a shared repository
If you have security concerns, please open a private security advisory on GitHub rather than a public issue.