r/reactnative • • 4d ago

I made a short "airport X-ray" video about what code review misses in a release build (and the free tool behind it)

1 Upvotes

My release had two approvals and every check green. The built app still contained a live secret key, a staging API URL, a preview EAS Update channel and a staging app link.

None of those were in the diff anyone reviewed. They get put in at build time, by env variables, app.config and config plugins, so they only exist in the final .ipa / .aab.

I made this little video to show the idea: the build is the bag, and nobody scans it before it boards.

The tool behind it is release-lint, which I wrote. It opens the built file on your machine and reports:

- secret keys in the JS bundle or Expo config (publishable keys are ignored)
- localhost, LAN and staging hosts
- staging domains in associated domains / App Links
- a non-production EAS Update channel
- debuggable or development-signed builds

Run it in your project:

npx app-release-lint

Free, open source (MIT), zero dependencies, nothing is uploaded.

https://github.com/harpreetkbadhan/release-lint

Which release mistake has bitten you that it should catch next? Several of the current checks came from comments on my last post here.