flutter_native_toolkit 1.0.0 copy "flutter_native_toolkit: ^1.0.0" to clipboard
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-sdk command - Update Android minSdkVersion in build.gradle or build.gradle.kts

    • Supports Groovy DSL and Kotlin DSL
    • Handles variable references like flutter.minSdkVersion
  • add-permission command - 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 --name flags)
    • Platform targeting (--platform android|ios|both)
    • Custom iOS usage descriptions (--ios-description)
    • Auto-generated iOS descriptions for common permissions
  • list-permissions command - List all available permissions

    • Organized by category
    • iOS compatibility indicators
    • Category filtering (--category)
  • add-plist command - Add key-value pairs to iOS Info.plist

    • Support for string, boolean, integer, and array types
    • Duplicate detection
  • add-dep command - Quick wrapper for flutter 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
1
likes
0
points
287
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#cli #flutter #android #ios #automation

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

args, path, xml

More

Packages that depend on flutter_native_toolkit