Migrate flutter_boost to federated plugin architecture#2252
Draft
Migrate flutter_boost to federated plugin architecture#2252
Conversation
|
|
Co-authored-by: 0xZOne <26625149+0xZOne@users.noreply.github.com>
Co-authored-by: 0xZOne <26625149+0xZOne@users.noreply.github.com>
Co-authored-by: 0xZOne <26625149+0xZOne@users.noreply.github.com>
Co-authored-by: 0xZOne <26625149+0xZOne@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate flutter_boost plugin to federated plugin structure
Migrate flutter_boost to federated plugin architecture
Jan 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts flutter_boost from a single-package plugin to Flutter's recommended federated plugin architecture, enabling independent platform implementations and better modularity.
New Packages
flutter_boost_platform_interface— Platform-agnostic interface withFlutterBoostPlatformabstract class,MethodChannelFlutterBoostdefault impl, and Pigeon-generated messagesflutter_boost_android— Android implementation, declaresimplements: flutter_boostflutter_boost_ios— iOS implementation, declaresimplements: flutter_boostMain Package Changes
pubspec.yaml— Usesdefault_packagefor platform routing instead of directpluginClasslib/src/messages.dart— Now re-exports from platform interfaceandroid/andios/directories (preserved for backward compatibility)Security Fix
com.alibaba:fastjsonfrom 1.2.41 → 1.2.83 to address deserialization vulnerabilitiesDocumentation
FEDERATED_PLUGIN_MIGRATION.mdwith detailed migration steps and rationaleCHANGELOG.mdStructure After Migration
All public APIs remain backward compatible.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.google.com/usr/lib/jvm/temurin-11-jdk-amd64/bin/java /usr/lib/jvm/temurin-11-jdk-amd64/bin/java --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.base/java.nio.charset=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx1536M(dns block)https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.19.0-stable.tar.xz/usr/bin/curl curl -fsSL REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.