internet_permission 2.0.2
internet_permission: ^2.0.2 copied to clipboard
A Flutter plugin that automatically adds internet permissions to all platforms (Android, iOS, macOS, Windows, Linux, Web). One command setup: dart run internet_permission:setup
Changelog #
2.0.2 - 2025-12-06 🎉 #
🚀 MAJOR UPDATE - All Platforms Supported! #
✨ New Features
-
6 platforms now supported!
- 📱 Android
- 🍎 iOS
- 💻 macOS
- 🪟 Windows
- 🐧 Linux
- 🌐 Web
-
New simplified command:
dart run internet_permission:setup(Legacy
setup_permissionscommand still works) -
Platform-specific configurations:
- Android: INTERNET + ACCESS_NETWORK_STATE permissions
- iOS: NSAppTransportSecurity configuration
- macOS: network.client + network.server entitlements
- Windows: Default permissions (no setup needed)
- Linux: Default permissions (no setup needed)
- Web: Default permissions (no setup needed)
📝 Improvements
- Enhanced terminal output with better formatting and information
- Clear status indicators for each platform (✅/⏭️/❌)
- Automatic backup files created for all platforms
- Optimized script execution speed
- Better error handling and user feedback
🐛 Bug Fixes
- Fixed macOS entitlements configuration
- Corrected Windows and Linux default permission states
- Improved Web index.html modification handling
- Enhanced file system operations reliability
📚 Documentation
- Complete README.md rewrite with better structure
- Platform-specific setup guides added
- Manual configuration instructions included
- Updated API reference with more examples
- Added troubleshooting section
1.0.5 - 2025-12-05 #
✨ New Features #
- Automatic setup script added! 🎉
- New
dart run internet_permission:setup_permissionscommand - Automatic permission configuration for Android and iOS
- Backup file creation before modifications
- Beautiful terminal output with progress indicators
- New
📝 Improvements #
- Complete README.md overhaul
- Comprehensive usage instructions added
- Documentation in multiple languages
🐛 Bug Fixes #
- Enhanced error handling in setup script
- Improved file modification safety
1.0.4 - 2025-12-05 #
📝 Changes #
- Updated pubspec.yaml with executable configurations
- Restructured tool folder organization
- Improved project structure
1.0.3 - 2025-12-05 #
🐛 Bug Fixes #
- Improved Android manifest merger handling
- Fixed iOS podspec configuration issues
- Enhanced compatibility with different project structures
1.0.2 - 2025-12-04 #
1.0.1 - 2025-12-03 #
🐛 Bug Fixes #
- Resolved plugin registration issues
- Fixed Android manifest configuration problems
- Improved platform channel communication
1.0.0 - 2025-12-02 #
🎉 Initial Release #
- Core functionality implementation
- Android and iOS platform support
- Internet connectivity checking capability
- Basic API methods
Migration Guide #
Migrating from 1.0.5 to 2.0.0 #
Old Command:
dart run internet_permission:setup_permissions
New Command:
dart run internet_permission:setup
Note: The old command still works for backward compatibility.
New Platform Support #
If your project includes macOS, Windows, Linux, or Web platforms, they will be automatically configured:
dart run internet_permission:setup
The setup script will:
- Detect available platforms in your project
- Configure only the platforms that exist
- Skip platforms that aren't part of your project
- Show clear status for each platform
API Changes #
Good news: The API remains unchanged! All existing code will continue to work:
-
Run the new setup command:
dart run internet_permission:setup -
Clean and rebuild your project:
flutter clean flutter pub get flutter run -
Test on all your target platforms to ensure everything works correctly.
Breaking Changes #
None! Version 2.0.2 is fully backward compatible with 1.0.x versions.
With v2.0.2, configure internet permissions for all platforms with one command! 🚀