flutter_qjs
flutter_qjs copied to clipboard
A quickjs engine for flutter.
Hi, ffi package (https://pub.dev/packages/ffi) is updated and requires dart 2.17 to be used. Some others packages already use that version, so I have problems upgrading because a conflict with flutter_qjs...
Xcode 13.2.1 iOS 15.2 iPhone 13 Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'jsNewRuntime': dlsym(RTLD_DEFAULT, jsNewRuntime): symbol not found
On Android API 21 and below I always get a crash: `E/flutter ( 4640): Invalid argument(s): Failed to load dynamic library 'libqjs.so': dlopen failed: library "libqjs.so" not found E/flutter (...
相同的dart code。在js的 async function中使用await 是可以的 但是在js的外部 使用 `var tmp=await http("https://www.baidu.com");` 会报错 `SyntaxError: expecting ';' at :228`
When the number greater then **2147483647** in Dart I get double value. **Example:** ``` 2147483647 (JS) -> 2147483647 (Dart) 2147483648 (JS) -> 2147483648.0 (Dart) ```
就是有个Person dart对象 里面有age name属性,我想在JavaScript代码里面使用这个person对象。
We are using [Zone](https://api.dart.dev/stable/2.18.3/dart-async/Zone-class.html)'s to control some aspects of how the `eval` code is executed. If the `eval` is executed in `CustomZone`, all the JS code that is behind an...
When I dispose the QuickJS engine I get a reference leak after doing a [Object.freeze](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze). ``` reference leak: ADDR REF TYPE PROP 986107159 1 _JSFunction function () { ... #0...
非常感谢 @ekibun 的这个仓库! 不知道能不能支持调试功能? 我看到相关的仓库有这两个 [https://github.com/koush/quickjs](https://github.com/koush/quickjs), [https://github.com/koush/vscode-quickjs-debug](https://github.com/koush/vscode-quickjs-debug) 我不懂c/c++ 😄
I use XMLHttpRequest and fetch, they all response not defined error.