Removal of v1 Android embedding Java APIs
Summary
#Android's v1 embedding has been removed in Flutter 3.29.0. This follows the deprecation described in Android v1 embedding app and plugin creation deprecation. The following is a full list of classes removed.
io.flutter.app.FlutterActivity io.flutter.app.FlutterActivityDelegate io.flutter.app.FlutterActivityEvents io.flutter.app.FlutterApplication io.flutter.app.FlutterFragmentActivity io.flutter.app.FlutterPlayStoreSplitApplication io.flutter.app.FlutterPluginRegistry io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry io.flutter.embedding.engine.plugins.shim.ShimRegistrar io.flutter.view.FlutterMain io.flutter.view.FlutterNativeView io.flutter.view.FlutterView If your project references any of the above classes, consult the following list for instructions on migration.
-
io.flutter.app.FlutterActivitywas replaced withio.flutter.embedding.android.FlutterActivity. -
io.flutter.app.FlutterActivityDelegatewas replaced withio.flutter.embedding.android.FlutterActivityAndFragmentDelegate. io.flutter.app.FlutterActivityEventswas removed.-
io.flutter.app.FlutterApplicationwas removed. Flutter projects with customApplicationimplementations should instead extend the baseandroid.app.Application. -
io.flutter.app.FlutterFragmentActivitywas replaced withio.flutter.embedding.android.FlutterFragmentActivity. -
io.flutter.app.FlutterPlayStoreSplitApplicationwas replaced withio.flutter.embedding.android.FlutterPlayStoreSplitApplication. -
io.flutter.app.FlutterPluginRegistrywas removed, as it only served to let plugins support apps using the v1 embedding. -
io.flutter.embedding.engine.plugins.shim.ShimPluginRegistrywas removed, as it only served to support let plugins support apps using the v1 embedding. -
io.flutter.embedding.engine.plugins.shim.ShimRegistrarwas removed, as it only served to support let plugins support apps using the v1 embedding. -
io.flutter.view.FlutterMainwas replaced byio.flutter.embedding.engine.loader.FlutterLoader. -
io.flutter.view.FlutterNativeViewwas replaced byio.flutter.embedding.android.FlutterView. -
io.flutter.view.FlutterViewwas replaced byio.flutter.embedding.android.FlutterView.
Plugin authors
# Plugins should remove the registerWith method from their FlutterPlugin interface implementation:
public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar); For an example of this migration, check out the pull request to remove this method from the Flutter team-owned plugins: flutter/packages#6494.
Timeline
# Landed in version: 3.28.0-0.1.pre
In stable release: 3.29
Unless stated otherwise, the documentation on this site reflects Flutter 3.38.1. Page last updated on 2025-10-28. View source or report an issue.