larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
526 stars 260 forks source link

Who to get the build number #325

Open grasan-csb opened 10 months ago

grasan-csb commented 10 months ago

Who to get the build number ?

Because in the pubspec file, i have version : 1.0.3+5 and in the store is 1.0.3+6 but the package return for the installed version : 1.0.3.

The display do not show

And i have this error in the logs :

flutter: upgrader: appStoreVersion : 1.0.3(6)
flutter: upgrader: installedVersion : 1.0.3
flutter: upgrader: minAppVersion: null
flutter: upgrader: isUpdateAvailable: FormatException: Not a properly formatted version string
flutter: upgrader: isUpdateAvailable: false
..
larryaasen commented 8 months ago

The version 1.0.3(6) is not a properly formatted semantic version. Try using 1.0.3+6 instead.