permission_handler_package 1.0.5
permission_handler_package: ^1.0.5 copied to clipboard
A professional Flutter package for handling permissions automatically with Riverpod state management, retry logic, and beautiful UI dialogs.
Changelog #
Changelog #
All notable changes to the permission_handler_package package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.5 - 2024-01-16 #
๐ Major Fixes & Improvements #
๐ง Critical Fixes
- Removed plugin declaration - Package is now correctly identified as a pure Dart package (no native Android/iOS code)
- Fixed Android build error - Resolved "plugin doesn't have a main class defined" error
- Fixed iOS build error - Removed unnecessary native plugin requirements
๐ฆ Package Structure Changes
- Removed
flutter.pluginsection frompubspec.yaml- No longer declares as native plugin - Pure Dart package - Correctly wraps
permission_handlerwithout duplicating native code - Simplified installation - No more native file conflicts
๐ฏ What Changed
- flutter:
- plugin:
- platforms:
- android:
- package: com.permission.handler.package
- pluginClass: PermissionHandlerPackagePlugin
- ios:
- pluginClass: PermissionHandlerPackagePlugin
+ # No plugin declaration - pure Dart package
All notable changes to the `permission_handler_package` package will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [1.0.4] - 2024-01-15
### ๐ฏ Major Improvements
#### ๐งน Code Cleanup & Simplification
- **Removed redundant screens** - `PermissionInitialScreen`, `PermissionDeniedScreen`, `PermissionPermanentScreen`, `PermissionSettingsScreen` removed
- **Consolidated UI** - Now only dialogs handle all permission flows (no duplication)
- **Simplified architecture** - Cleaner, more maintainable codebase
#### ๐ Bug Fixes
- Fixed deprecated `withOpacity()` warnings โ replaced with `withAlpha()`
- Fixed incorrect import paths across all files
- Fixed missing `permission_provider.dart` import in settings widget
- Fixed all circular dependency issues
#### ๐ง Dependency Updates
- Updated `permission_handler` to latest version
- Updated `flutter_riverpod` compatibility
- Updated `flutter_screenutil` integration
#### ๐ Structure Changes