getVersion result contains a build number
See original GitHub issueSummary
Version | v8.4.3 |
Affected OS | iOS/Android |
OS Version | ? |
Current behavior
It seems sometimes, getVersion
returns a build number additionally to a version (e.g. 1.9.0+27 or 1.9.0 (27)). I did not catch it by hand, but I found sentry releases with that names while an error report is configured as release: DeviceInfo.getVersion()
.
I can not present some exact data, but I can list data from sentry:
- Android 6.0.1 Nexus 5X
- Android 12 M2101K7AG
- Android 11 SM-A505FN
- iOS 15.2 iPhone XR
- iOS 15.2.1 iPhone 11
- iOS 15.3.1 iPhone 11
- iOS 15.4.1 iPhone 11
- iOS 14.3 iPhone X
- iOS 15.2 iPhone X
- iOS 15.3.1 iPhone 12
each of devices is not emulator
Expected behavior
A version from DeviceInfo.getVersion()
does not contain a build number.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
GetVersion function (sysinfoapi.h) - Win32 - Microsoft Learn
If the function succeeds, the return value includes the major and minor version numbers of the operating system in the low-order word, and ......
Read more >Getting version and build information with Swift - Stack Overflow
Get version from Framework's bundle. To have result for framework you can use. [Access to Framework bundle] //inside framework let version ...
Read more >How to get the ACTUAL version number for Windows 10 from ...
When you navigate to Start > Run and enter winver, it very clearly shows you the Version as well as the OS Build...
Read more >Build.VERSION - Android Developers
The user-visible version string. E.g., "1.0" or "3.4b5" or "bananas". This field is an opaque string. Do not assume that its value has...
Read more >Determining detailed build number information for VMware ...
This article provides instructions on how to determine the build number of: The system level; The build number; The patches applied to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mikehardy deal
🎉 This issue has been resolved in version 9.0.1 🎉
The release is available on:
Your semantic-release bot 📦🚀