
- #UNITY CLOUD BUILD API GET BUILD VERSION APK#
- #UNITY CLOUD BUILD API GET BUILD VERSION UPDATE#
- #UNITY CLOUD BUILD API GET BUILD VERSION MANUAL#
- #UNITY CLOUD BUILD API GET BUILD VERSION FULL#
- #UNITY CLOUD BUILD API GET BUILD VERSION FOR ANDROID#
Values of type Byte, Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Values of all primitive types (any type with a TypeCode != TypeCode.Object) except for DBNull are accepted.

The class represents a property bag as a collection of key-value pairs. Represents a demand used by a definition or build. Represents the result of validating a build request.Ī value that indicates whether builds can be queued against this definition. Represents a repository used by a build definition. Specification of the agent defined by the pool provider. It's not much of a plan but the lack of current documentation by Unity addressing these fields - and the similar-but-different field names between Unity and the Amazon Appstore seems to lead to these ad-hoc decisions.Grants the ability to access build artifacts, including build results, definitions, and requests, and the ability to receive notifications about build events via service hooks. Is there a right way to number the bundle versions?Īlthough arbitrarily changing it to 2 in my case is clearly not much of a scheme - it is both different and higher than the previous number and, as such, works.
#UNITY CLOUD BUILD API GET BUILD VERSION FULL#
Which I believe brings us full circle to one part of the original question:
#UNITY CLOUD BUILD API GET BUILD VERSION UPDATE#
I've since updated the Bundle Version Code in Unity - but could not update it to 1.1 or 1_1 because the field is strictly numeric - and so instead updated it to 2. I am in the process of uploading a new version to the Amazon Appstore and although I updated the Version in Unity to 1.1, the Bundle Version Code was not updated and as a result was rejected by the Amazon Appstore because it was the same as the previous Bundle Version Code (Version code in Amazon Appstore). Identified by the Amazon Appstore as Version code. This field is identified by the Amazon Appstore as Version name.īundle Version Code is still Bundle Version Code.
#UNITY CLOUD BUILD API GET BUILD VERSION MANUAL#
The content on the referenced Unity Manual page from ArianJM has changed and (at least for version 5.4) no longer contains any information about Bundle Version or Bundle Version Code.īundle Version is now Version. I came to this question as a result of a problem I just had uploading a new version to the Amazon Appstore. This does not directly address the question but is related (and related to the answer by ArianJM). Or you could simply increase the number by one each time a new version Or you could translate a version number in “x.y” format to an integerīy encoding the “x” and “y” separately in the lower and upper 16 bits. You can define it however you want, as long as each successive The value must be set as an integer, such as Not the version number shown to users that number is set by the This number is used only to determine whether one version is more recent thanĪnother, with higher numbers indicating more recent versions. (This is sharedīundle Version Code: An internal version number. The version is specified in the common format of a stringĬontaining numbers separated by dots (eg, 4.3.2). Unity has the answer in their Manual of Player Settings page: ( Update: this link no longer contains the information below):īundle Version: Specifies the build version number of the bundle, which identifies an iteration (released or unreleased) of theīundle.

#UNITY CLOUD BUILD API GET BUILD VERSION APK#
Each APK must have a unique version code so Unity adds 100000 to the number for ARMv7, and 200000 for ARM64. Keep this number under 100000 if Split APKs by target architecture is enabled. Or you could simply increase the number by one each time a new version is released. Or you could translate a version number in “x.y” format to an integer by encoding the “x” and “y” separately in the lower and upper 16 bits. You can define it however you want, as long as each successive version has a higher number.įor example, it could be a build number. The value must be set as an integer, such as “100”. This is not the version number shown to users that number is set by the versionName attribute. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. (Shared between iOS and Android.)īundle Version Code: An internal version number. The version is specified in the common format of a string containing numbers separated by dots (eg, 4.3.2).

Version: Enter the build version number of the bundle, which identifies an iteration (released or unreleased) of the bundle.
#UNITY CLOUD BUILD API GET BUILD VERSION FOR ANDROID#
Documentation on these values can be found in the Unity docs for Android Player settings (Android Player settings > Other settings > Identification):

In newer versions of Unity Bundle Version became just Version.
