
Adds a new section to the README detailing the usage of the `build_app.sh` script. This provides clear instructions for building the Android APK, iOS IPA, or both, enhancing developer onboarding for app compilation.
61 lines
1.4 KiB
Markdown
61 lines
1.4 KiB
Markdown
# e_scan
|
|
|
|
A new Flutter project.
|
|
|
|
## Getting Started
|
|
|
|
This project is a starting point for a Flutter application.
|
|
|
|
A few resources to get you started if this is your first Flutter project:
|
|
|
|
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
|
|
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
|
|
|
|
For help getting started with Flutter development, view the
|
|
[online documentation](https://docs.flutter.dev/), which offers tutorials,
|
|
samples, guidance on mobile development, and a full API reference.
|
|
|
|
## flutter_launcher_icons
|
|
|
|
Icon launcher generator
|
|
|
|
- [Docs here](https://pub.dev/packages/flutter_launcher_icons)
|
|
|
|
```
|
|
flutter pub run flutter_launcher_icons:main
|
|
```
|
|
|
|
## Development tool
|
|
|
|
This projects uses code generator
|
|
|
|
```
|
|
dart run build_runner build
|
|
dart run build_runner build --delete-conflicting-outputs
|
|
```
|
|
|
|
- Run this command to detect packages unused
|
|
|
|
```batch
|
|
dart pub global activate dependency_validator && dart pub run dependency_validator
|
|
```
|
|
|
|
## Increment version and generate changelog
|
|
|
|
Run this script in project root to create apk
|
|
|
|
```batch
|
|
Usage: ./scripts/version_and_changelog.sh
|
|
```
|
|
|
|
## Build apk
|
|
|
|
Run this script in project root to create apk
|
|
|
|
```batch
|
|
Usage: ./scripts/build_app.sh [android|ios|both]
|
|
android - Build only the Android APK
|
|
ios - Build only the iOS IPA (macOS only)
|
|
both - Build both Android APK and iOS IPA (macOS only)
|
|
```
|