[Request]: Migrate to FFI
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the battery_plus plugin and the referenced path_provider_ffi package to understand the proposed migration approach. Confirm the scope for replacing Method Channels with FFI or JNI, and define completion around the requested synchronous API, improved performance, and vanilla Dart support.
Written by the indexing model from the issue text.
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.
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 16
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluttercommunity/plus_plugins
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fluttercommunity/plus_plugins#3994 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
fluttercommunity/plus_plugins#3943 ·
Maintainers usually reply within 1 day
-
[package_info_plus]: Use Flutter's compile-time build name/number on web instead of version.jsonOpen
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
fluttercommunity/plus_plugins#3989 ·
Maintainers usually reply within 1 day
-
enhancement triage
Difficulty 4/5 3-5 days Newbie friendliness 55/100
fluttercommunity/plus_plugins#3976 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fluttercommunity/plus_plugins#3974 · 1 reaction ·
Maintainers usually reply within 1 day
All issues in fluttercommunity/plus_plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
immich-app/immich#31955 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Smart charging: USB charger re-assert is starved during BLE scans, so the tablet never dischargesOpenbug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
decentespresso/decaid#931 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
flame-engine/flame#4067 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
RunanywhereAI/runanywhere-sdks#982 · 1 comment ·
Maintainers usually reply within 5 days