AI Briefing
KO

Managing App Versions

·2021.07.01 19:10

Key point

This article introduces the semantic versioning approach and the use of versionCode, versionName, and flavor employed by Oliveyoung's Android development team.

1 / 2

Details

Oliveyoung's Android app development team manages versions by adopting a Semantic Versioning strategy. Versions follow the MAJOR.MINOR.PATCH format, and the numbers are incremented based on API compatibility, feature additions, and bug fixes.

Android has two versioning systems. versionCode is an integer value that is not exposed to users and is used to determine app updates, while versionName is a string displayed to users. In particular, versionCode cannot be reused once it has been used, and it serves to let the system determine the latest version and prevent downgrades.

In addition, flavor is used to generate various versions of the app from a single source code base. Oliveyoung combines buildType (debug, release) and dimension (develop, operation) to create a total of 4 Build Variants, enabling efficient app management.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.