fix: add missing debug's keystore#31681
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
No E2E tests need to run for this change, and no performance tests are warranted. Performance Test Selection: |
Description
Local debug APK builds (
prodDebug, etc.) were signed with the machine-local default Android debug keystore (~/.android/debug.keystore) instead of the sharedandroid/keystores/debug.keystorechecked into the repo.Android Gradle Plugin always applies the built-in
debugsigning config for debug build types, which overrides the flavor-levelmainDevconfig even whenMETAMASK_ENVIRONMENT=dev. That produced a different certificate fingerprint per developer machine, breaking integrations that key off the team debug certificate (e.g. Google Sign-In / OAuth redirect validation).This PR adds an explicit
debugsigning config inandroid/app/build.gradlethat points to../keystores/debug.keystore, so all debug variants use the repo keystore and produce a consistent SHA fingerprint.Changelog
CHANGELOG entry: null
Related issues
Refs: N/A — local Android debug signing configuration
Manual testing steps
Screenshots/Recordings
N/A — build/signing configuration change only; verification is via
apksigner/keytoolfingerprint comparison.Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist