All jobs / Mobile developer / Release

Mobile developer interview question · 1–3 years

On Android, what is the difference between a build type and a product flavor, and what belongs in each?

The strongest answer

A build type is how it is built — debuggable, or optimised and signed for release. A flavor is what is built: a brand with its own id, name and endpoints. Each pair is a variant

Why it works

Exactly — how versus what, and the variant is the pair. That is what keeps configuration out of the code.

What a good answer covers

Answers that fall short

Who gets asked this

More Release questions