Using multiple environments is a common practice used in mobile applications. Android and iOS solved this problem in a slightly different way. In flutter the flavor option maps directly to an Android product flavor and loosely to an Xcode scheme. This creates a bit of confusion. In this post we see how to solve all the issues.