Flutter APK Finder A VS Code extension to easily find, manage, and share APK files generated by Flutter projects. Overview The Flutter APK Finder extension adds a sidebar view in VS Code to list all APK files in your Flutter project's build/app/outputs/flutter-apk directory. It allows you to view file details, open folders, copy paths, share via email or WhatsApp, rename, and delete APKs. The extension supports both light and dark themes based on your VS Code settings and includes debug/release badges for easy identification. Features Lists all APK files sorted by creation date (latest first). Displays file size and creation date. Supports actions: Open Folder, Copy Path, Share via Email, Share via WhatsApp, Rename, and Delete. Automatically switches between light and dark themes. Adds "Debug" or "Release" badges based on file name (e.g., app-debug.apk or app-release.apk). Refresh option to update the APK list. Installation Open VS Code. Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side or pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS). Search for "Flutter APK Finder". Click Install to add the extension to VS Code. Reload VS Code if prompted. Usage Open a Flutter Project: Open a folder containing a Flutter project in VS Code. Build APKs: Run flutter build apk in the terminal to generate APK files. Use --debug or --release flags to create specific builds (e.g., flutter build apk --debug). Access the Extension: Open the sidebar and select the Flutter APK Finder view (usually under the "Explorer" or custom section). Interact with APKs: View Details: See the APK name, size, and creation date. Open Folder: Click the folder icon to open the containing directory. Copy Path: Click the copy icon to copy the file path to your clipboard. Share via Email: Click the envelope icon to open your email client with the file path (manual attachment may be required for large files). Share via WhatsApp: Click the WhatsApp icon to open WhatsApp with the file path (manual attachment required). Rename: Click the edit icon to rename the APK (must end with .apk). Delete: Click the trash icon to delete the APK (confirmation prompt included). Refresh: Use the "Refresh" command (via command palette or right-click) to update the list. Theme Support: The extension automatically adjusts to your VS Code theme (light or dark). Switch themes in VS Code to see the change. Requirements VS Code version 1.60.0 or later. A Flutter project with the build/app/outputs/flutter-apk directory (generated after running flutter build apk). Configuration No additional configuration is required. The extension automatically detects the APK directory based on your workspace. Known Limitations Email sharing includes a data URL for small files but may fail for large APKs; manual attachment is recommended. WhatsApp sharing provides the file path; manual attachment is required. Button colors are not fully theme-aware (future enhancement possible). Contributing Contributions are welcome! Please fork the repository, create a feature branch, and submit a pull request. For major changes, please open an issue first to discuss. License This project is licensed under the MIT License - see the LICENSE.md file for details. Support For issues or questions, please file an issue on the GitHub repository or contact the developer. |