Context
The GA4 Measurement Protocol api_secret is currently sourced from local.properties (ANALYTICS_API_KEY) or the ANALYTICS_API_KEY env var, with a DUMMY_API_XXX fallback so contributor builds compile.
Only an issue with the build.gradle change, and that's mostly my ignorance/wanting reassurance.
I believe in our prior implementation, the key wasn't obscured. Obscuring a publicly-facing analytics key is
semi-understandable from the perspective of not wanting malicious clients, but it's unusual to me, as it's not a > private key.
(For example, with Firebase, this would be a public credential on a website)
If you'd be OK with deferring the conversation, shift it to an issue and merge at will!
cc @mikehardy
TODO
Context
The GA4 Measurement Protocol
api_secretis currently sourced fromlocal.properties(ANALYTICS_API_KEY) or theANALYTICS_API_KEYenv var, with aDUMMY_API_XXXfallback so contributor builds compile.Question raised by @david-allison
TODO
api_secret(Signal, K-9 Mail, F-Droid clients, etc.)