instantiations / es_compression

Compression framework for Dart providing FFI implementations for Brotli, Lz4, Zstd (Zstandard) with ready-to-use prebuilt binaries for Win/Linux/Mac.
https://www.instantiations.com
BSD 3-Clause "New" or "Revised" License
41 stars 8 forks source link

Why your library can't run in flutter ? #39

Closed azkadev closed 1 year ago

azkadev commented 1 year ago

I tried adding your library in flutter but when the app is run the app closes immediately, I've tried making the package dart:cli / changing some of the other code which I don't think is useful, but the result is still the same, Can you make your library work in flutter app? I'm trying to make a realtime chat app with lz4 because it's faster

sethloco commented 1 year ago

I use this for server-side Win/Mac/Linux and don't use Flutter. I know folks have made it work in both Android and IoS contexts. The framework integration used on top (i.e. Flutter) is a different matter and I'm not familiar with the process. I tried it once on a simple Android/Flutter app when I was originally developing it, but that was a long time ago. All I can say for sure is that since this is FFI -> native libs, then it won't work in the Web context.

Gieted commented 1 year ago

Can you somehow remove the "web support" badge from pub.dev. It's misleading.

obraz

sethloco commented 1 year ago

Hello,

2 points to make.