This is the source code for the demo app Cart Demo mobile app (ios and android) built using flutter programming language.
APK file can be found in here (/assets/app-release.apk
)
Categories Page | Product Page | Checkout Page | ||
- Flutter version 3.3.0
- Flutter sdk environment: ">=2.16.1 <3.0.0"
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Run flutter pub get
to download dependencies.
Build the application by running flutter run
.
or run and debug sidebar, select dev (from the top dropdown), click run (icon).
To run integration tests: flutter run integration_test/init_test.dart
flutter pub upgrade --major-versions
Open run and debug sidebar, select dev (from the top dropdown), click run (icon).
flutter build apk;
flutter build ipa;
- update version (pubspec & app store connect)
- remove print statements
- remove assert
- clear todo
- clear console problems
- (ios only) running -> general -> version and build
flutter clean
flutter pub get
flutter pub run import_sorter:main
flutter build appbundle;
flutter build ipa
Changes are deployed to the staging environment after a PR is merged into the dev
branch
Changes are deployed to the production environment after a release is created, click here to create a release, see releases section
Use the application version and build number. vAppVersion+AppBuildNumber
-
AppVersion (gotten from pubspec file) - 1.0.8
-
AppBuildNumber (gotten from pubspec file) - 6
Example:
Release: v1.0.8+6
- Increase major version after a major rewrite. (1 in above example)
- Increase minor version after adding a feature. (0 in above example)
- Increase bug version for bug fixes. (9 in above example)
- Increase build number for every production release. (7 in above example)