Skip to content
Articles
Article

Four store releases shipped with ads turned off: the safe default and the guard that never ran

by HS Solution dev.to

4 min read

For eleven days, every Android release of our small Flutter app shipped with ads switched off. Nothing crashed. No review flagged it. The rewarded-ad button simply was not there, and we only noticed during an audit of what each shipped build actually contained. The cause was one word in a shell script: ADS="${ADS:-false}". Here is how a sensible default and a sensible guard combined into a silent…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by