Skip to content

Commit d62bf73

Browse files
Copilotjwinarske
andcommitted
Remove all Android support
- Remove android/ directory with build.gradle and AndroidManifest.xml - Remove Android build job from GitHub Actions workflow - Update documentation to remove Android references: - README.md: Remove Android from project structure and roadmap - BUILDING.md: Remove Android build instructions - ARCHITECTURE.md: Remove Android platform section - CHANGELOG.md: Remove Android-related notes - PROJECT_SUMMARY.md: Update statistics and platform info - Focus exclusively on Linux desktop platform Co-authored-by: jwinarske <[email protected]>
1 parent e74cb6f commit d62bf73

File tree

8 files changed

+7
-181
lines changed

8 files changed

+7
-181
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -81,33 +81,3 @@ jobs:
8181
name: linux-build
8282
path: build/linux/x64/release/bundle/
8383
retention-days: 7
84-
85-
build-android:
86-
name: Build Android
87-
runs-on: ubuntu-latest
88-
needs: [analyze, test]
89-
steps:
90-
- uses: actions/checkout@v3
91-
92-
- uses: actions/setup-java@v3
93-
with:
94-
distribution: 'zulu'
95-
java-version: '17'
96-
97-
- uses: subosito/flutter-action@v2
98-
with:
99-
flutter-version: '3.16.0'
100-
channel: 'stable'
101-
102-
- name: Install dependencies
103-
run: flutter pub get
104-
105-
- name: Build Android APK
106-
run: flutter build apk --release
107-
108-
- name: Archive APK
109-
uses: actions/upload-artifact@v3
110-
with:
111-
name: android-apk
112-
path: build/app/outputs/flutter-apk/app-release.apk
113-
retention-days: 7

ARCHITECTURE.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,6 @@ flatpak override --show <app-id>
372372
- Icon in system themes
373373
- Keyboard shortcuts
374374

375-
### Android (Future)
376-
- Limited Flatpak support
377-
- Alternative permission management
378-
- Mobile-optimized UI
379-
380375
### Other Platforms
381376
- macOS: Experimental, limited use
382377
- Windows: Not applicable (no Flatpak)
@@ -415,7 +410,6 @@ flatpak override --show <app-id>
415410

416411
### Platform Dependencies
417412
- Linux: GTK3, Flatpak
418-
- Android: Java 17+
419413

420414
## References
421415

BUILDING.md

Lines changed: 2 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ Detailed instructions for building Flutter Flatseal on various platforms.
77
1. [Prerequisites](#prerequisites)
88
2. [Setting Up Development Environment](#setting-up-development-environment)
99
3. [Building for Linux Desktop](#building-for-linux-desktop)
10-
4. [Building for Android](#building-for-android)
11-
5. [Building for Other Platforms](#building-for-other-platforms)
12-
6. [Troubleshooting](#troubleshooting)
10+
4. [Building for Other Platforms](#building-for-other-platforms)
11+
5. [Troubleshooting](#troubleshooting)
1312

1413
## Prerequisites
1514

@@ -38,15 +37,7 @@ sudo dnf install clang cmake ninja-build gtk3-devel flatpak
3837
sudo pacman -S clang cmake ninja gtk3 flatpak
3938
```
4039

41-
#### Android (Optional)
4240

43-
```bash
44-
# Install Android Studio
45-
# Download from: https://developer.android.com/studio
46-
47-
# Accept Android licenses
48-
flutter doctor --android-licenses
49-
```
5041

5142
## Setting Up Development Environment
5243

@@ -73,9 +64,6 @@ flutter doctor
7364
# Enable Linux desktop
7465
flutter config --enable-linux-desktop
7566

76-
# Enable Android (if needed)
77-
flutter config --enable-android
78-
7967
# Verify enabled platforms
8068
flutter devices
8169
```
@@ -148,47 +136,6 @@ This installs:
148136
- Desktop file: `/usr/share/applications/flutter_flatseal.desktop`
149137
- Icon: `/usr/share/icons/hicolor/128x128/apps/flutter_flatseal.png`
150138

151-
## Building for Android
152-
153-
While Flutter Flatseal is primarily a desktop application, the codebase supports Android builds (Flatpak functionality will be limited).
154-
155-
### Prerequisites
156-
157-
```bash
158-
# Accept licenses
159-
flutter doctor --android-licenses
160-
161-
# Install Android SDK components
162-
flutter doctor
163-
```
164-
165-
### Debug APK
166-
167-
```bash
168-
flutter build apk --debug
169-
```
170-
171-
Output: `build/app/outputs/flutter-apk/app-debug.apk`
172-
173-
### Release APK
174-
175-
```bash
176-
# Configure signing (first time)
177-
# Edit android/app/build.gradle and add signing config
178-
179-
flutter build apk --release
180-
```
181-
182-
Output: `build/app/outputs/flutter-apk/app-release.apk`
183-
184-
### App Bundle (for Play Store)
185-
186-
```bash
187-
flutter build appbundle --release
188-
```
189-
190-
Output: `build/app/outputs/bundle/release/app-release.aab`
191-
192139
## Building for Other Platforms
193140

194141
### Web (Limited Functionality)
@@ -304,10 +251,6 @@ jobs:
304251
```bash
305252
# Run comprehensive check
306253
flutter doctor -v
307-
308-
# Fix common issues
309-
flutter doctor --android-licenses # Accept Android licenses
310-
flutter config --android-sdk <path> # Set Android SDK path
311254
```
312255

313256
### Build Failures
@@ -401,7 +344,6 @@ flutter build linux --release -j 8
401344

402345
Release builds are typically:
403346
- Linux: ~15-25 MB (uncompressed bundle)
404-
- Android: ~20-30 MB (APK)
405347

406348
## Next Steps
407349

CHANGELOG.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333
- Real-time permission updates
3434
- Error handling and loading states
3535
- Linux desktop support with GTK3 integration
36-
- Android build support (structure only)
3736
- Comprehensive documentation:
3837
- README with features and usage
3938
- BUILDING guide for all platforms
@@ -64,7 +63,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6463

6564
### Platform Support
6665
- **Linux Desktop**: Full support (GTK3)
67-
- **Android**: Build files present (limited functionality)
6866
- **macOS**: Experimental
6967
- **Windows**: Not supported (no Flatpak)
7068
- **Web**: Not supported (requires system access)
@@ -75,7 +73,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7573
- Custom filesystem paths require manual editing
7674
- No profile import/export
7775
- No undo functionality
78-
- Mobile platforms have limited/no Flatpak support
7976

8077
### Documentation
8178
- Complete README with installation and usage
@@ -226,10 +223,6 @@ N/A - First release
226223

227224
## FAQ
228225

229-
### When will mobile support be added?
230-
231-
Mobile platforms (Android, iOS) have limited or no Flatpak support. While the app can be built for Android, it will have limited functionality. We're exploring options for future mobile support.
232-
233226
### Why Flutter instead of GTK?
234227

235228
Flutter provides:

PROJECT_SUMMARY.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Flutter Flatseal is a complete Flutter application that replicates the functiona
1414
- **Total Files**: 27 project files
1515
- **Dart Files**: 9 (lib + test)
1616
- **Documentation**: 8 markdown files
17-
- **Configuration**: 4 files (pubspec, analysis, gradle, cmake)
18-
- **Platform Files**: 6 (Linux + Android support)
17+
- **Configuration**: 3 files (pubspec, analysis, cmake)
18+
- **Platform Files**: 4 (Linux desktop support)
1919

2020
### Lines of Code (Approximate)
2121
- **Application Code**: ~1,000 lines (Dart)
@@ -45,8 +45,6 @@ flutter-flatseal/
4545
│ ├── main.cc # C++ entry point
4646
│ ├── my_application.cc/h # GTK application wrapper
4747
│ └── flutter_flatseal.desktop # Desktop integration
48-
├── android/ # Android support (structure)
49-
│ └── app/build.gradle # Android build config
5048
├── test/ # Unit tests
5149
│ └── widget_test.dart # Model and widget tests
5250
├── Documentation files # Comprehensive guides
@@ -162,8 +160,7 @@ dev_dependencies:
162160
163161
### Platform Support
164162
- **Primary**: Linux Desktop (GTK3)
165-
- **Secondary**: Android (structure present)
166-
- **Build System**: CMake (Linux), Gradle (Android)
163+
- **Build System**: CMake (Linux)
167164
168165
## Quality Assurance
169166
@@ -185,7 +182,6 @@ Jobs:
185182
- analyze: Code analysis and formatting check
186183
- test: Run all tests with coverage
187184
- build-linux: Linux desktop build
188-
- build-android: Android APK build
189185
```
190186
191187
## Comparison with Original Flatseal
@@ -198,11 +194,11 @@ Jobs:
198194
- Desktop application focus
199195
200196
### Advantages of Flutter Version ✅
201-
- Cross-platform potential (Linux, Android, etc.)
202197
- Modern Material Design 3 UI
203198
- Hot reload for fast development
204199
- Extensive package ecosystem
205200
- Well-documented codebase
201+
- Linux desktop focused
206202
207203
### Advantages of Original ✅
208204
- More mature and battle-tested

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ flutter-flatseal/
155155
│ ├── main.cc
156156
│ ├── my_application.cc/h
157157
│ └── flutter_flatseal.desktop
158-
├── android/ # Android support (future)
159158
├── test/ # Unit tests
160159
└── pubspec.yaml # Dependencies
161160
```
@@ -271,11 +270,11 @@ Contributions are welcome! Please feel free to submit a Pull Request.
271270
## Comparison with Original Flatseal
272271

273272
This Flutter implementation provides:
274-
- ✅ Cross-platform potential (Linux desktop primary, mobile possible)
275273
- ✅ Modern Material Design UI
276274
- ✅ Fast, native performance via Flutter
277275
- ✅ Easy to extend and maintain
278276
- ✅ Matches core Flatseal functionality
277+
- ✅ Linux desktop focused
279278

280279
Original Flatseal advantages:
281280
- More mature and battle-tested
@@ -306,7 +305,6 @@ Original Flatseal: Copyright © 2020-2024 Martin Abente Lahaye (GPLv3)
306305
- [ ] Multiple application selection
307306
- [ ] Undo/Redo functionality
308307
- [ ] Search and filter improvements
309-
- [ ] Mobile support (Android/iOS)
310308
- [ ] Package as Snap/Flatpak/AppImage
311309

312310
## Support

android/app/build.gradle

Lines changed: 0 additions & 38 deletions
This file was deleted.

android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)