filesaverplus 1.0.0
filesaverplus: ^1.0.0 copied to clipboard
FileSaverPlus is a Flutter plugin for saving files to device storage with cross-platform support for Android, iOS, Web, Windows, Linux, and macOS.
1.0.0 #
- Android: downgraded Gradle
9.7.0→9.3.1, AGP9.3.1→9.1.0, and Kotlin2.3.21→2.4.0— AGP 9.3.1 requires Gradle ≥9.5.0, so the Gradle downgrade also required dropping AGP to a version actually compatible with it. - Android:
kotlin-androidis now applied conditionally based on AGP major version instead of unconditionally viaid("kotlin-android")— the unconditional form can silently fail to compile Kotlin sources under some AGP/Gradle declarativeplugins{}configurations. - Android: removed a stray, non-functional
android.minSdkVersion=29line fromgradle-wrapper.properties. - Adopted stricter analyzer rules:
strict-casts,strict-raw-types,cancel_subscriptions,close_sinks,unawaited_futures.
0.0.6 #
- Raised the minimum supported Flutter version to 3.24.0 (Dart 3.13.0) — the version Swift Package Manager plugin support was introduced.
- Android: bumped
compileSdk/targetSdkto 37 (Android 17) and AGP to 9.3.1 (required to build against API 37). Stayed on the classickotlin-androidGradle plugin rather than Flutter's new built-in Kotlin support — as of Flutter 3.47.0, built-in Kotlin fails a plainflutter build/flutter runfor consumers of this plugin; will revisit once that's fixed upstream. - iOS and macOS: added Swift Package Manager support alongside the existing CocoaPods podspecs, ahead of CocoaPods going read-only on pub.flutter-io.cn in December 2026. Verified via
pod lib lintand full example builds (both CocoaPods and SwiftPM paths) on Xcode 26.6 (Xcode 27 is still in beta as of this release). - iOS: fixed
saveMultipleFiles/share-sheet presentation to correctly pick the foreground-activeUIWindowSceneand stopped falling back to the deprecatedUIApplication.shared.keyWindow, so it behaves correctly in multi-scene contexts (iPad Stage Manager, Slide Over, multi-window). - Bumped
flutter_lintsto ^6.0.0, and the floors onplugin_platform_interface,path_provider, andwebto their current latest releases. - macOS: documented the
com.apple.security.files.user-selected.read-writeentitlement sandboxed apps need forNSSavePanelwrites to actually succeed — previously undocumented, and saves would silently fail under App Sandbox without it.
0.0.5 #
- Breaking:
saveMultipleFilesnow returnsFuture<List<String>>(saved paths) instead ofFuture<void>. - Breaking:
saveFilenow returnsFuture<String?>(saved path) instead ofFuture<void>. - Added Web platform support — triggers browser Blob download via
package:web. - Added Windows platform support — saves directly to the Downloads folder via
dart:io. - Added Linux platform support — saves directly to the Downloads folder via
dart:io. - Added macOS platform support — presents
NSSavePanelso the user can choose the save location. - Fixed: Android now handles
getPlatformVersionandgetBatteryPercentage(previously returnednotImplemented). - Fixed: iOS
batteryLevel(Float 0.0–1.0) is now correctly converted to an integer percentage (0–100). - Fixed: Removed 220+ lines of dead commented-out code from the iOS Swift implementation.
- Bumped version to 0.1.0 to reflect the breaking API change and new platform support.
0.0.3 #
- Added support android 9.
0.0.2 #
- Updated readme file.
0.0.1 #
- Initial release.