fluttercommunity / fluttercommunity/plus_plugins

[Request]: Migrate to FFI

Open
#3,553 8 comments 4 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Dart
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.