flutter_native_toolkit 1.0.0
flutter_native_toolkit: ^1.0.0 copied to clipboard
A powerful CLI tool to automate native Android and iOS configuration in Flutter projects. Set minSdkVersion, add permissions, configure Info.plist, and more with simple commands.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 2024-01-XX #
Added #
-
set-sdkcommand - Update AndroidminSdkVersioninbuild.gradleorbuild.gradle.kts- Supports Groovy DSL and Kotlin DSL
- Handles variable references like
flutter.minSdkVersion
-
add-permissioncommand - Add permissions to Android and iOS- 60+ pre-configured permissions organized in 9 categories
- Interactive mode with category-based selection (
--interactive) - Multi-permission support (comma-separated or multiple
--nameflags) - Platform targeting (
--platform android|ios|both) - Custom iOS usage descriptions (
--ios-description) - Auto-generated iOS descriptions for common permissions
-
list-permissionscommand - List all available permissions- Organized by category
- iOS compatibility indicators
- Category filtering (
--category)
-
add-plistcommand - Add key-value pairs to iOSInfo.plist- Support for string, boolean, integer, and array types
- Duplicate detection
-
add-depcommand - Quick wrapper forflutter pub add- Regular and dev dependency support
Permission Categories #
- Network & Connectivity (10 permissions)
- Camera & Media Capture (3 permissions)
- Location Services (3 permissions)
- Storage & Files (6 permissions)
- Contacts & Calendar (5 permissions)
- Phone & SMS (9 permissions)
- Bluetooth & NFC (7 permissions)
- Sensors & Biometrics (7 permissions)
- System & Notifications (10 permissions)
Technical #
- Dart 3 syntax with sealed classes and pattern matching
- Type-safe
OperationResult(Success/Failure) pattern - Cross-platform path handling
- Colored terminal output with ANSI codes
- Comprehensive error handling and validation