0

I'm using Firebase App Distribution to distribute my app for iOS and Android. For most users on iOS & Android, that worked with the latest version. But for one user, Firebase claimed that the new version was a downgrade. I'd like to know how to prevent this in the future.

The old version was "2021.6.4 (5)", the new one "2021.6.5 (4)". As I understand semantic versioning, the old version is less than the new one because the new one has a higher patch version: 5 vs. 4.

But Firebase begged to differ once. Below you see the installed version at the top and the new one, labeled as a "Downgrade", below. Why?

enter image description here

Karsten Silz
  • 1,036
  • 11
  • 18
  • 2
    And what is the number in parentheses? I know nothing about Firebase App Distribution, but normally on Android, whether a version of an app is considered newer than another version is not based on the versionName (the user-visible string), but rather on the versionCode (which is an integer that usually isn't visible to the user). – Michael May 19 '21 at 15:43
  • The number at the end is the optional build number. Here's my complete version in the build file `pubspec.yaml`: `version: 2021.6.5+4` Based on [Google's documentation](https://dart.dev/tools/pub/pubspec#version), I'm using it correctly. – Karsten Silz May 19 '21 at 18:24

0 Answers0