Skip to main content

flutter_js_runtime 1.0.0 copy "flutter_js_runtime: ^1.0.0" to clipboard
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 SwiftFlutterJsRuntimePlugin class were removed; the plugin class is FlutterJsRuntimePlugin.
  • 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.dart still 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.

1
likes
0
points
227
downloads

Publisher

unverified uploader

Weekly Downloads

Run JavaScript in Flutter apps. Uses QuickJS on Android, Windows and Linux, and JavaScriptCore on iOS and macOS.

Repository (GitHub)
View/report issues

Topics

#javascript #js-engine #quickjs #javascriptcore #ffi

License

unknown (license)

Dependencies

ffi, flutter, http, sync_http

More

Packages that depend on flutter_js_runtime

Packages that implement flutter_js_runtime