Nick Fisher

Results 107 comments of Nick Fisher

@Vivaldo-Roque yes, this is actually being tracked in #128. I think the basic use case for this plugin (invoking other plugins from another isolate) is now deprecated because Flutter now...

The example project is crashing for me on iOS 16.6.1 with the following: ``` 2024-01-31 08:32:32.216820+0800 Runner[93603:12522867] *** Assertion failure in -[FlutterDownloaderPlugin startBackgroundIsolate:], FlutterDownloaderPlugin.m:145 2024-01-31 08:32:32.218135+0800 Runner[93603:12522867] *** Terminating app...

> I had a lot of problems with `flutter_downloader` in general. > > Does it crash without my PR? > > And does it work without `flutter_downloader`? > > Thanks...

Actually that's precisely the question I was going to ask - given Flutter now natively supports running plugins in background isolates, the only remaining use case for this package is...

Fair point. If anyone has that issue, I'd lean towards telling them to use a vanilla isolate for plugin code, and `dart_ui_isolate` for their `dart:ui` code, and shuffle data between...

@dcharkes does this also support compiling code then linking to third-party/precompiled static libraries (and by extension, specifying the platform-specific path to these libraries in `build.dart`)?

@dcharkes thanks for the quick response. Are there any examples for invoking the native build tools, or do you mean simply using regular Dart like Process.run?

There's two errors thrown by Xcode 15.3 when submitting Flutter apps built with `native_assets` to the App Store. First is: ``` This bundle is invalid. The bundle at path Payload/Runner.app/Frameworks/sherpa_onnx_dart.framework...

I have a WIP for this if anyone wants to help contribute: https://github.com/nmfisher/native/tree/jsgen This is targeting a drop-in replacement for `ffigen` using `ffi-native` (i.e. consuming C-compatible headers to generate static...

I couldn't get `BidiGenerateContentToolResponse` working either (via `wss://us-central1-aiplatform.googleapis.com/ws/google.cloud.aiplatform.v1.LlmBidiService/BidiGenerateContent` which is the Vertex/Google Cloud version, not the Gemini API version). Sending `BidiGenerateContentToolResponse` would result in the server closing the websocket connection....