PR #305 Announcement
Hi everyone,
I've submitted PR #305 to address Flutter Kotlin capability issues and add Swift Package Manager (SPM) support for iOS/macOS.
cc @PaulTR @am15h @knottx @enricostrijks @himanshudeveloper @guyluz11 @CaptainDario @BoHellgren @dewball345
What it delivers
- Critical fix: resolved Flutter Kotlin capability issues on Android
- Critical fix: added Swift Package Manager (SPM) support for iOS/macOS
- Moved plugin source files into
ios/ and macos/ folders to enable proper SPM integration
- Verified compatibility with Flutter 3.44.0
Testing completed
- Flutter Kotlin capability issues confirmed resolved on Android
- SPM integration verified with plugin sources properly structured under
ios/ and macOS/
- Full compatibility confirmed with Flutter 3.44.0
Current status
PR #305 delivers both the Android Kotlin fix and iOS/macOS SPM support as a unified release (0.12.2). These are critical fixes that unblock developers hitting Kotlin capability errors on Android and SPM integration issues on Apple platforms.
While PR #305 awaits merging, you can use the fixed version immediately via dependency_overrides in your pubspec.yaml:
dependency_overrides:
tflite_flutter:
git:
url: https://github.com/kmmhanan/flutter-tflite.git
ref: v0.12.2
Notes
- This PR directly addresses long-standing Kotlin compatibility pain points on Android that have been affecting multiple users.
- The SPM support aligns the plugin with modern Apple platform standards, enabling smoother integration for iOS and macOS projects.
- The override above points to the author's fixed fork and will be removable once the PR is merged upstream.
See [PR #305](#305) for technical details.
PR #305 Announcement
Hi everyone,
I've submitted PR #305 to address Flutter Kotlin capability issues and add Swift Package Manager (SPM) support for iOS/macOS.
cc @PaulTR @am15h @knottx @enricostrijks @himanshudeveloper @guyluz11 @CaptainDario @BoHellgren @dewball345
What it delivers
ios/andmacos/folders to enable proper SPM integrationTesting completed
ios/andmacOS/Current status
PR #305 delivers both the Android Kotlin fix and iOS/macOS SPM support as a unified release (0.12.2). These are critical fixes that unblock developers hitting Kotlin capability errors on Android and SPM integration issues on Apple platforms.
Notes
See [PR #305](#305) for technical details.