# Task — App versioning and release APK naming

**Status:** Implemented  
**Date:** 2026-10-05

## Summary
Use `pubspec.yaml` as the only app version source. Display the embedded version and build number in Profile, use the same package metadata for analytics, and copy release builds to `baskit-v<version+build>.apk`.

## Test cases
1. **Profile** — footer shows `Version 1.0.0 (build 1)` for the current package.
2. **Metadata failure** — footer shows a non-crashing fallback.
3. **Local release** — `dart tool/version_apk.dart` creates the versioned APK beside `app-release.apk`.
4. **Bitbucket release** — pipeline derives its artifact and Downloads filename from `pubspec.yaml`.
5. **Verification** — formatting, analysis, Flutter tests, and Android release build pass.

## Related
- `pubspec.yaml`, `lib/widgets/app_version_label.dart`, `lib/features/profile/profile_screen.dart`
- `tool/version_apk.dart`, `bitbucket-pipelines.yml`
- Tests: `test/app_version_label_test.dart`
