question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getVersion result contains a build number

See original GitHub issue

Summary

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:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mtntcommented, May 3, 2022
0reactions
rndi-botcommented, Jun 4, 2022

🎉 This issue has been resolved in version 9.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found