flutter_onnxruntime
A lightweight plugin that provides native wrappers for running ONNX Runtime on multiple platforms
1.8.4
12K downloads/mo
#2738 most downloaded on pub.dev
masicai/flutter_onnxruntime
What this package is like to depend on
Last release today
23 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 24 of 26 stable releases
1 version withdrawn
withdrawn after publishing
1 years old
27 releases · first in 2025
15 releases in the last 12 months
see the full history below
Release timeline
27 releases · Apr 2025 to Aug 2026Releases
latest 27-
1.8.423 Aug 2026Release notes
Open source →What's Changed
- fix: HardSwish returns all zeros on Linux under comma-decimal locales in #74 (reported by @@LeonardoGamar)
Full Changelog: v1.8.3...v1.8.4
Release notes
Open source →- Fix HardSwish and other function-defined ONNX operators returning all zeros on Linux under comma-decimal system locales such as German and French (#73, upstream onnx/onnx#8111)
-
1.8.319 Jul 2026Release notes
Open source →Changes
- Fix App Store Connect validation errors (ITMS-90208) on iOS/macOS by repackaging ONNX Runtime as a library-format xcframework instead of framework-format (issue #71)
Full Changelog: v1.8.2...v1.8.3
Release notes
Open source →- Fix App Store Connect validation errors (ITMS-90208) on iOS/macOS by repackaging ONNX Runtime as a library-format xcframework instead of framework-format (issue #71)
-
1.8.213 Jul 2026Release notes
Open source →What's Changed
- Modernize Android build config and fix Kotlin 2.4 compatibility warnings in #70
Full Changelog: v1.8.1...v1.8.2
Release notes
Open source →- Migrate Kotlin options to a newer format and resolve KTLC warnings to make the plugin ready for Kotlin 2.4 (#70)
-
1.8.112 Jul 2026Release notes
Open source →What's Changed
- Fix memory surge/OOM crash during inference on SME-capable ARM64 devices (iPhone A18+/M4+) caused by a KleidiAI convolution memory regression in ONNX Runtime 1.24.x (#66, upstream microsoft/onnxruntime#29538) (#68). Thanks to @runoob-coder for reporting this and helping debug!
- Move ONNX Runtime to 1.23.0 on all platforms: Android upgraded from 1.22.0; iOS/macOS downgraded from 1.24.2 via a masicai fork of the ONNX Runtime Swift package (Microsoft's SPM repo has no 1.23.x tag)
- Add save model extraction from assets to avoid ORT loading corrupted models (#67)
- Add true bool support on iOS/macOS via a C++ bridge (#69)
Full Changelog: v1.8.0...v1.8.1
Release notes
Open source →- Fix memory surge/OOM crash during inference on SME-capable ARM64 devices (iPhone A18+/M4+) caused by a KleidiAI convolution memory regression in ONNX Runtime 1.24.x (#66, upstream microsoft/onnxruntime#29538) (#68)
- Move ONNX Runtime to 1.23.0 on all platforms: Android upgraded from 1.22.0; iOS/macOS downgraded from 1.24.2 via a masicai fork of the ONNX Runtime Swift package (Microsoft's SPM repo has no 1.23.x tag)
- Add save model extraction from assets to avoid ORT loading corrupted models (#67)
- Add true bool support on iOS/macOS via a C++ bridge (#69)
-
1.8.008 Jun 2026Release notes
Open source →What's Changed
- Add Swift Package Manager support for iOS and macOS in #62
- Move android integration test CI from macos to ubuntu in #63
Full Changelog: v1.7.1...v1.8.0
Release notes
Open source →- Add Swift Package Manager support for iOS and macOS (#62); CocoaPods remains fully supported
- Upgrade
onnxruntime-objcfrom 1.22.0 to 1.24.2 for iOS and macOS (aligned with the official ONNX Runtime Swift package) - Move Android integration test CI from macOS to Ubuntu
-
1.7.116 May 2026Release notes
Open source →What's Changed
- Prevent startup crash from makeBackgroundTaskQueue forwarding on macOS in #59
Full Changelog: v1.7.0...v1.7.1
Release notes
Open source →- Prevent startup crash from
makeBackgroundTaskQueueforwarding on macOS (#58 #59)
-
1.7.012 Apr 2026Release notes
Open source →What's Changed
- Use BackgroundTaskQueue to avoid UI thread blocking during inference by @timeofjohnny in #56
- Add synchronization to prevent race condition during engine detach by @biendltb in #57
Full Changelog: v1.6.4...v1.7.0
Release notes
Open source →- Run inference on a background thread via Flutter's TaskQueue for Android, iOS, and macOS
- Prevent race condition introduced by running inference on a background thread in the case of disposing the session while inference is running
-
1.6.429 Mar 2026Release notes
Open source →What's Changed
- Fix uint8 tensor creation defaulting to int8 on Android by @liyuqian in #53
- Fix uint8 and bool tensor type handling across all platforms by @biendltb in #54
Full Changelog: v1.6.3...v1.6.4
Release notes
Open source →- Fix tensor creation for bool and uint8 types
- Add missing tensor conversions for bool and uint8 types across Android, iOS/macOS, and Web
- Add more integration tests to harness the conversions
-
1.6.317 Feb 2026Release notes
Open source →What's Changed
- Add float16 tensor support for iOS and macOS in #50
- Upgrade onnxruntime-objc to 1.22.0 for macOS in #51
Full Changelog: v1.6.2...v1.6.3
Release notes
Open source →- Add float16 tensor support for iOS and macOS
- Upgrade
onnxruntime-objcfor macOS to 1.22.0
-
1.6.208 Feb 2026Release notes
Open source →What's Changed
- Fix memory leak when creating tensors by @biendltb in #47
- Fix race condition in convertTensor for Windows and Linux by @biendltb in #48
Full Changelog: v1.6.1...v1.6.2
Release notes
Open source →- Fix a memory leak issue for tensor creation in Linux and Windows
- Fix thread safe issue for tensor operations in Linux and Windows
-
1.6.115 Dec 2025Release notes
Open source →- Explicit cleanup for ONNX Runtime resources when applications close in macOS and iOS (#45)
-
1.6.013 Nov 2025Release notes
Open source →- Optimize the data transfer from native to Dart using typed arrays (#43)
- Setup cmake-format for CMake formatting (#41)
- Add bug report and feature request templates
-
1.5.205 Sep 2025 -
1.5.104 Sep 2025Release notes
Open source →- Upgrade ONNX Runtime to version 1.22.0 for 16KB Page Size support in Android (#39)
- Fix Linux build issues in CMake and X11 display server (#37)
- Upgrade Kotlin version to 2.1.0 (#38)
-
1.5.004 Sep 2025 withdrawnNothing published for this version
-
1.4.331 May 2025Release notes
Open source →- Fix an issue with input name-value mismatch in Windows (#28 #29)
- Add more integration tests for input name and order consistency
- Add integration tests for int64 input tensor
-
1.4.225 May 2025Release notes
Open source →- Remove unnecessary warnings in CMake for the Linux build
- Improve README and troubleshooting documentation
-
1.4.105 May 2025Release notes
Open source →- Support string tensors in all platforms
- Reinforce structure and behavior consistency between Linux and Windows implementations
- Minor bug fixes and documentation updates
-
1.4.028 Apr 2025Release notes
Open source →- Support Windows platform 🎉🎉🎉
- Refactor SessionManager in Linux for cleaner architecture
- Add Azure to provider list
- Improve the CMake build stability in Linux
-
1.3.024 Apr 2025Release notes
Open source →- Support Web platform 🎉🎉🎉
- Add integration tests for Web in both local and CI
-
1.2.322 Apr 2025Release notes
Open source →- Standardize Execution Provider names across all platforms
- Fix a bug in get_metadata method for Linux
-
1.2.219 Apr 2025 -
1.2.119 Apr 2025Nothing published for this version
-
1.2.017 Apr 2025Release notes
Open source →- Returning a multi-dimensional list for tensor data extraction
- Support return a flat list
-
1.1.017 Apr 2025Release notes
Open source →- Standardize error codes and error messages from native
- Remove auto disposal of input tensors after inference in Kotlin
- Refactor C++ to return standard Platform Exception and impose standard error handling
- Add back the example to package as required by pub.dev; this will increase the package size unnecessarily
-
1.0.116 Apr 2025Nothing published for this version
-
1.0.016 Apr 2025Release notes
Open source →- Support running inference with an ONNX model on Android, iOS, Linux, and macOS
- Support ONNX Runtime version 1.21.0