[Request]: Migrate to FFI
Plugin
battery_plus
Use case
The packages you guys have been maintaining are crucial for the Flutter ecosystem. Method Channels work great, but now that FFI and JNI are maturing, I think it would be a great time to start migrating over to them where possible.
The primary benefits to this are:
- Synchronous API
- Improved Performance
- Vanilla Dart Support
Proposal
I've already migrated path_provider to use FFI (https://pub.dev/packages/path_provider_ffi) and I would love to do that here too. Would you be interested in a PR. I would start with battery_plus first.
Sounds like a great idea, so go ahead. I think I saw your tweets recently about path_provider.
cc @miquelbeltran I think you might also be curios about it.
I think that battery_plus is small enough that it could be a good start. I would probably advise publishing a fork first (e.g. battery_plus_ffi or battery_ffi) that is using the battery_plus_platform_interface, and then later incorporate the implementation changes.
I would probably advise publishing a fork first
I would rather not publishing a package on pub that I do not plan on maintaining.