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.

Runtime Version from AndroidManifest truncates tailing zeros making "1.10" into "1.1"

See original GitHub issue

Summary

My production app was unable to update via OTA and i found that runtime version has been invalid and update was not applied due invalid runtime version

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

Android

SDK Version (managed workflow only)

No response

Environment

Expo CLI 3.28.5 environment info: System: OS: macOS 11.2.3 Shell: 5.8 - /bin/zsh Binaries: Node: 15.14.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.7.6 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 Android SDK: API Levels: 22, 23, 24, 25, 26, 27, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 30.0.0 System Images: android-28 | Google APIs Intel x86 Atom IDEs: Xcode: 12.5/12E262 - /usr/bin/xcodebuild npmPackages: expo: 41.0.1 => 41.0.1 react: 17.0.2 => 17.0.2 react-dom: 17.0.2 => 17.0.2 react-native: 0.64.2 => 0.64.2 react-native-web: 0.16.1 => 0.16.1 npmGlobalPackages: expo-cli: 4.3.0 Expo Workflow: bare

Reproducible demo or steps to reproduce from a blank project

Just set expo.modules.updates.EXPO_RUNTIME_VERSION to 1.10 and try to perform OTA.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ex3ndrcommented, Jun 22, 2021

In my case i hit it my production app and eventually switched to single-digit version as work-around.

0reactions
jkhalescommented, Jun 22, 2021

In my case i hit it my production app and eventually switched to single-digit version as work-around.

OK. Thanks for letting us know about this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trailing zeros get truncated from tag minor versions that are ...
Then the trailing zeros of the minor version get truncated when the tag gets translated to a Kubernetes manifest. For example, a tag...
Read more >
javascript - Remove insignificant trailing zeros from a number?
Converting that back to a numeric type will not only make the number safer to use arithmetically, but also automatically drop any trailing...
Read more >
Firebase Android SDK Release Notes - Google
Cloud Functions for Firebase Client SDK version 20.1.0. Added a new method getHttpsCallableFromUrl(java.net.URL) to create callables with URLs.
Read more >
Log4j – Changes - Apache Logging Services
SizeBasedTriggeringPolicy would fail to rename files properly when integer pattern contained a leading zero. Fixes LOG4J2-3432. rgoers. Fix ...
Read more >
VMware Tanzu Application Service for VMs v2.11 Release ...
Required Cloud Foundry Command-Line Interface (cf CLI) version: You must ... Bump bpm to version 1.1.21; Bump capi to version 1.109.13 ...
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