flutter_js_runtime 1.0.0
flutter_js_runtime: ^1.0.0 copied to clipboard
Run JavaScript in Flutter apps. Uses QuickJS on Android, Windows and Linux, and JavaScriptCore on iOS and macOS.
1.0.0 #
- Added Swift Package Manager support on iOS and macOS. CocoaPods keeps working.
- Android: migrated the plugin to built-in Kotlin (Android Gradle Plugin 9). Fixes the build failure and the "plugins that apply Kotlin Gradle Plugin" warning in apps created with current Flutter versions.
- Requires Flutter 3.44 / Dart 3.12 or newer. Use 0.9.x on older Flutter versions.
- Minimum deployment targets raised to iOS 13.0 and macOS 10.15 (the minimums of Flutter 3.44).
- iOS: the plugin is now Swift-only. The Objective-C wrapper and the
SwiftFlutterJsRuntimePluginclass were removed; the plugin class isFlutterJsRuntimePlugin. - Example app updated to the current Flutter Android and Xcode project setup, with an integration test.
0.9.1 #
- Replaced deprecated
Pointer.elementAt. Requires Dart 3.3 / Flutter 3.19+.
0.9.0 #
First release as flutter_js_runtime, based on flutter_js 0.8.7.
- Renamed package. Change the dependency and imports to
package:flutter_js_runtime/; the API is the same. - New import
package:flutter_js_runtime/flutter_js_runtime.dart(flutter_js.dartstill works). - Renamed method channel and plugin class to avoid clashes with flutter_js.
- Fixed
enableFetch()asset path.
For earlier versions, see the flutter_js changelog.