Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versioning issues #8

Closed
IzzySoft opened this issue Sep 10, 2022 · 2 comments
Closed

versioning issues #8

IzzySoft opened this issue Sep 10, 2022 · 2 comments

Comments

@IzzySoft
Copy link

While your latest tag suggests a version of 0.0.2, the APK identifies the app as

package: name='com.example.movies_app_flutter' versionCode='1' versionName='1.0.0' compileSdkVersion='31' compileSdkVersionCodename='12'

According to your release history, it should read versionCode='2' versionName='0.0.2' instead. The problem originates here – this line in your pubspec.yaml should, for the current release, be

version: 0.0.2+2

and be adjusted with every release (right before tagging and building the APK). Could you please fix that? For some background:

  • as the app would always show up as 1.0.0 regardless of the version installed, users would never know if they have the most recent release installed
  • as versionCode is never changed, Android would consider them all the same version (it requires this to be increased with each release)

Thanks in advance!

@vellt
Copy link
Owner

vellt commented Sep 10, 2022

Oh sure, thanks for the info! 😅

@vellt vellt closed this as completed Sep 10, 2022
@IzzySoft
Copy link
Author

Wow, that was fast – and even the APK replaced at releases, amazing! So trying to catch up: Your app will become available here in less than 6 hours (with the next sync around 6 pm UTC). If you wish, you can pick a badge to link there e.g. from your Readme. Updates will be pulled automatically within 24h of your creating a new tag and attaching an APK to it (both with the proper versioning 😉)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants