Pgyer document center

Display the Correct Build Version Number

Version number of the iOS App

In iOS application development, there are two Version related identifiers, namely "Version" (version number) and "Build" (build number).

Version(version number):

  • Function: Indicates the major version number of the application, usually the major version number. Minor version number. The form of the revision number (for example, 1.0.0).
  • Change Rules: The major version number may be added when the application has undergone major feature changes or significant updates.
  • User visibility: The version number is usually displayed in the App Store for users to view the current version of the app.

Build (build number):

  • Function: Indicates an identifier for the specific build or compilation of the application. This number increases each time you build or compile.
  • Change Rules: The build number is automatically incremented every time a build is made, regardless of whether there are significant changes.
  • Developer use: Build numbers are for internal use by developers and are usually not visible to end users. During the development and testing of an application, developers can use build numbers to distinguish between different versions of the application.

In general, version numbers are primarily used to show users updates and changes to the application, while build numbers are primarily used to track different versions of the application during the development and testing phases. In Xcode, you can manually set these two numbers in the project Settings. When you submit your App to the App Store, both the version number and build number need to comply with Apple's regulations.

Version of the Android App

In Android development, there are similar concepts of version and build numbers to iOS, but the naming and specific implementation may be different.

VersionName

  • In Android, version numbers are often referred to as "versionCode" and "versionName".
  • versionCode: is an integer value used for internal version management. This value needs to be incremented each time a build is made, similar to the build number in iOS. versionCode is not displayed directly to the user, but is used to distinguish between different application versions.
  • versionName: is a string that displays version information to the user. Typically, versionName is in a format similar to "1.0.0", representing major version numbers, minor version numbers, and revision numbers.

VersionCode

There is no clearly defined concept of a "build number" in Android as there is in iOS, but you can generally think of version Code as an embodiment of a build number.

Self-increment Build number of PGYER

In order to allow developers to clearly distinguish between each uploaded version, we set an incremental Build number for different versions of an application (only for display on PGYER, without modifying the application file itself). By default, we display the incremental Build number directly, not the build number set by the application itself.

Set the desired Build version number

The incremental Build number generated by PGYER works for most developers, but it is not appropriate for developers who are actually using their own Build versions. Therefore, we provide a toggle function where developers can set which version number is displayed for PGYER in App Management - App Settings.

After the corresponding Settings are made here, the corresponding changes will be made in the Application installation page, Application management page and other places where the Build version number is displayed.