Closed
Description
Issue:
The Android SDK sets the app's versionName
(e.g. 2.0
) instead of its versionCode
(e.g. build 200
) in the Installation
field appVersion
.
Expected:
The build number (i.e. versionCode
) should be set.
Rationale:
It makes sense to set the version code, because:
- server logic that is dependent on the build number can easily compare the
versionCode
being an integer, instead ofversionName
being a String. - a build number more accurately identifies an app package than a version code.
- it contradicts the Parse iOS SDK which sets the app build number
However, correcting this inconsistency would be a breaking change for existing server logic.
Note: The API request header contains both, the build number and version name.
Affected Code:
Metadata
Metadata
Assignees
Labels
No labels