-
-
Notifications
You must be signed in to change notification settings - Fork 735
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
versionCodebeing an integer, instead ofversionNamebeing 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:
| String appVersion = pkgInfo.versionName; |
| String appVersion = pkgInfo.versionName; |
Metadata
Metadata
Assignees
Labels
No labels