![]() There are other cases, such as creating a demo version of the app or a paid version. A product flavor example can be what I mentioned in the introduction: a flavor can be dev and the other one can be prod.You’ll use a release certificate for signing this app - more on this later. You do this from Android Studio > Build > Generate signed bundle/APK. However, if you are distributing your app to any kind of portal (Firebase/PlayStore) you need to generate a release build. When you run the app from Android Studio you’re running a debug version of the app. A build type will be either debug or release.Simply put: Build variant = build type + product flavor What I mentioned above represents a Build variant. In addition, the developers and testers will be able to have both apps installed on the device at the same time. Each of them will have its own package name and will know which is the correct backend that it needs to connect to. Sometimes we need to be able to build 2 versions of your app: a development version and a production version. This guide will help you to understand the terminology, why we need multiple flavors for an app, and it will also offer a step-by-step breakdown of the process involved in creating everything.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |