Closed vaind closed 3 years ago
actually, as is, this works quite nicely for flutter. After the recent changes, even desktop apps get the native library automatically. The plugin class doesn't hurt anything AFAICT and it's not something we have to actively maintain either - it's just the code generated by flutter create
without any changes so I don't think this needs any more attention at the moment.
ObjectBox dart depends on objectbox-c libraries and we need a way to include the right binary version of the library with the right dart-only/flutter platform. Currently, it's only possible in combination with flutter plugin class and, transitively, an additional package since flutter v1.20 (
objectbox_flutter_libs
see #112 why).Hopefully, the following flutter feature would help us simplify the setup: https://github.com/flutter/flutter/issues/63545
Probably nothing to do from objectbox-dart side at the moment before that flutter issue is resolved.