पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

GitHub रिपॉज़िटरीjassimpv/permissions_config

permissions_config

jassimpv/permissions_config open-source repository details.

permissions_config प्रोजेक्ट कवर
स्टार
4
फ़ोर्क
1
अंतिम पुश (UTC)
28 अग॰ 2025
प्रोजेक्ट स्थिति
सक्रिय

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

🚀 Permission Config

A Flutter CLI plugin that automatically adds Android/iOS permissions (Camera, Microphone, Location) to your Flutter project and generates a ready-to-use runtime permission handler file.
Say goodbye to manually editing AndroidManifest.xml and Info.plist — this tool does it all for you!


✨ Features

  • ✅ ✅ Supports permissions for Camera, Microphone, Location, Storage, Bluetooth, Sensors, Contacts, Calendar, Photos, Notifications, and Speech Recognition
  • ⚙️ Automatically injects required Android and iOS permission entries
  • 📁 Generates a pre-written permission_handler.dart file under lib/Utils/
  • 📦 Adds permission_handler dependency automatically in your pubspec.yaml
  • 💾 Creates backup files (.bak) before modifying platform configs
  • 📝 Uses logger for clean, informative CLI output

📦 Installation

Activate the plugin globally with Dart pub:

dart pub global activate permission_config

🔧 Usage

Run this command inside your Flutter project root:

permission_config <permission> [optional-ios-message]
Supported permissions:
Permission Aliases Description
camera - Access to the device camera
microphone mic Access to the microphone
location - Access to device location services (fine & coarse)
storage - Read/write external storage (Android only)
bluetooth - Access Bluetooth and BLE devices
sensors - Access body sensors and motion data
contacts - Access the user's contact list
calendar - Access calendar events and reminders
photos - Access the photo library (iOS only)
notifications - Access to send and display notifications (iOS only)
speech - Use speech recognition services (iOS only)
all - Adds all supported permissions above automatically
Examples:
permission_config all
permission_config camera
permission_config mic "This app needs mic access for voice chat."
permission_config location

💾 Backup Files

Before applying changes, backups are created:

  • AndroidManifest.xml.bak
  • Info.plist.bak

🙌 Contribution

Found a bug or want to add more permissions?
Feel free to open an issue or submit a pull request! Your contributions are welcome. 💙


👤 Contributors

Mohammed Jassim GitHub avatar
GitHub लेखक

Mohammed Jassim ↗

United Arab Emirates
भाषाएँDartC++CMakeSwiftCHTMLKotlinObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 6 आइटम

अपने प्रोजेक्ट के लिए रिपॉज़िटरी कैसे चुनें?

उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।

  1. नाम, लेखक या विवरण से खोजें और तकनीकी विषय से परिणाम सीमित करें।
  2. स्टार, फ़ोर्क और हाल के पुश की तुलना करें। स्टार रुचि दर्शाते हैं, गुणवत्ता की गारंटी नहीं।
  3. उपयोग से पहले GitHub पर README, लाइसेंस और Issues जाँचें।

स्रोत और रखरखाव

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗