From a8addc5b74b063cf45d0d7e4fd09781c9d9230aa Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Wed, 26 Feb 2025 11:45:34 -0800 Subject: [PATCH 01/12] wip --- src/content/release/breaking-changes/index.md | 2 + .../breaking-changes/v1-android-embedding.md | 45 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/content/release/breaking-changes/v1-android-embedding.md diff --git a/src/content/release/breaking-changes/index.md b/src/content/release/breaking-changes/index.md index eca8aa28ea5..9b9366dbc99 100644 --- a/src/content/release/breaking-changes/index.md +++ b/src/content/release/breaking-changes/index.md @@ -57,12 +57,14 @@ They're sorted by release and listed in alphabetical order: ### Released in Flutter 3.29 +* [Remove v1 Android embedding][] * [Deprecate `WebGoldenComparator`][] * [Deprecate `ThemeData.dialogBackgroundColor` in favor of `DialogThemeData.backgroundColor`][] * [`ImageFilter.blur` default tile mode automatic selection][] * [Updated Material 3 `Slider`][] * [Updated Material 3 progress indicators][] +[Remove v1 Android embedding]: /release/breaking-changes/v1-android-embedding [Deprecate `WebGoldenComparator`]: /release/breaking-changes/web-golden-comparator [Deprecate `ThemeData.dialogBackgroundColor` in favor of `DialogThemeData.backgroundColor`]: /release/breaking-changes/deprecate-themedata-dialogbackgroundcolor [`ImageFilter.blur` default tile mode automatic selection]: /release/breaking-changes/image-filter-blur-tilemode diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md new file mode 100644 index 00000000000..6171d5d6214 --- /dev/null +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -0,0 +1,45 @@ +--- +title: Android v1 embedding deletion +description: Deletion of the Android v1 embedding. +--- + +## Summary + +The v1 embedding has been removed in Flutter 3.29.0. +This follows the deprecation described in //(TODO link). +The following is a full list of classes and packages removed, along with their replacements. +``` +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.FlutterActivity` was replaced with `io.flutter.embedding.android.FlutterActivity`. +* `io.flutter.app.FlutterActivityDelegate` was replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. +* `io.flutter.app.FlutterActivityEvents` was replaced with //TODO +* `io.flutter.app.FlutterApplication` was removed. Flutter projects with custom `Application` implementations should instead extend the base `android.app.Application`. +* `io.flutter.app.FlutterFragmentActivity` was replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. +* `io.flutter.app.FlutterPlayStoreSplitApplication` was replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. +* `io.flutter.app.FlutterPluginRegistry` //TODO +* `io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry` was removed, as it only served to support let plugins support apps using the v1 embedding. +* `io.flutter.embedding.engine.plugins.shim.ShimRegistrar` was removed, as it only served to support let plugins support apps using the v1 embedding. +* `io.flutter.view.FlutterMain` was replaced by `io.flutter.embedding.engine.loader.FlutterLoader`. +* `io.flutter.view.FlutterNativeView` was replaced by `io.flutter.embedding.android.FlutterView`. +* `io.flutter.view.FlutterView` was replaced by `io.flutter.embedding.android.FlutterView`. + +## Plugin authors + +// TODO \ No newline at end of file From 501226784d1144bb36a2fa95fa31d2f5d38805f2 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 12:04:45 -0800 Subject: [PATCH 02/12] finish todos --- src/content/release/breaking-changes/index.md | 4 ++-- .../breaking-changes/v1-android-embedding.md | 18 +++++++++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/content/release/breaking-changes/index.md b/src/content/release/breaking-changes/index.md index 9b9366dbc99..2fce67c985a 100644 --- a/src/content/release/breaking-changes/index.md +++ b/src/content/release/breaking-changes/index.md @@ -57,14 +57,14 @@ They're sorted by release and listed in alphabetical order: ### Released in Flutter 3.29 -* [Remove v1 Android embedding][] +* [Removal of v1 Android embedding Java APIs][] * [Deprecate `WebGoldenComparator`][] * [Deprecate `ThemeData.dialogBackgroundColor` in favor of `DialogThemeData.backgroundColor`][] * [`ImageFilter.blur` default tile mode automatic selection][] * [Updated Material 3 `Slider`][] * [Updated Material 3 progress indicators][] -[Remove v1 Android embedding]: /release/breaking-changes/v1-android-embedding +[Removal of v1 Android embedding Java APIs]: /release/breaking-changes/v1-android-embedding [Deprecate `WebGoldenComparator`]: /release/breaking-changes/web-golden-comparator [Deprecate `ThemeData.dialogBackgroundColor` in favor of `DialogThemeData.backgroundColor`]: /release/breaking-changes/deprecate-themedata-dialogbackgroundcolor [`ImageFilter.blur` default tile mode automatic selection]: /release/breaking-changes/image-filter-blur-tilemode diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 6171d5d6214..6f999778bcf 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -6,8 +6,8 @@ description: Deletion of the Android v1 embedding. ## Summary The v1 embedding has been removed in Flutter 3.29.0. -This follows the deprecation described in //(TODO link). -The following is a full list of classes and packages removed, along with their replacements. +This follows the deprecation described in [Android v1 embedding app and plugin creation deprecation][]. +The following is a full list of classes and packages removed. ``` io.flutter.app.FlutterActivity io.flutter.app.FlutterActivityDelegate @@ -29,17 +29,25 @@ If your project references any of the above classes, consult the following list * `io.flutter.app.FlutterActivity` was replaced with `io.flutter.embedding.android.FlutterActivity`. * `io.flutter.app.FlutterActivityDelegate` was replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. -* `io.flutter.app.FlutterActivityEvents` was replaced with //TODO +* `io.flutter.app.FlutterActivityEvents` was removed. * `io.flutter.app.FlutterApplication` was removed. Flutter projects with custom `Application` implementations should instead extend the base `android.app.Application`. * `io.flutter.app.FlutterFragmentActivity` was replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. * `io.flutter.app.FlutterPlayStoreSplitApplication` was replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. -* `io.flutter.app.FlutterPluginRegistry` //TODO +* `io.flutter.app.FlutterPluginRegistry` was removed, as it only served to let plugins support apps using the v1 embedding. * `io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry` was removed, as it only served to support let plugins support apps using the v1 embedding. * `io.flutter.embedding.engine.plugins.shim.ShimRegistrar` was removed, as it only served to support let plugins support apps using the v1 embedding. * `io.flutter.view.FlutterMain` was replaced by `io.flutter.embedding.engine.loader.FlutterLoader`. * `io.flutter.view.FlutterNativeView` was replaced by `io.flutter.embedding.android.FlutterView`. * `io.flutter.view.FlutterView` was replaced by `io.flutter.embedding.android.FlutterView`. + +[Android v1 embedding app and plugin creation deprecation]: /releases/breaking-changes/android-v1-embedding-create-deprecation + ## Plugin authors -// TODO \ No newline at end of file +Plugins which are still supporting v1 embedding Flutter apps through the inclusion of the method +with the signature +``` +public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar) +``` +in their implementation of the `FlutterPlugin` interface should remove this method. \ No newline at end of file From 6909186e95149a1f6a2d2921d63e95561bd34ff2 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 12:05:40 -0800 Subject: [PATCH 03/12] just say classes --- src/content/release/breaking-changes/v1-android-embedding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 6f999778bcf..054bbf7d555 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -7,7 +7,7 @@ description: Deletion of the Android v1 embedding. The 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 and packages removed. +The following is a full list of classes removed. ``` io.flutter.app.FlutterActivity io.flutter.app.FlutterActivityDelegate From 610bcba067e2d3e01feb9f5eb8cc1d47680aa2af Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 12:08:31 -0800 Subject: [PATCH 04/12] change title to match link on index.md --- src/content/release/breaking-changes/v1-android-embedding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 054bbf7d555..27034c98ec3 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -1,5 +1,5 @@ --- -title: Android v1 embedding deletion +title: Removal of v1 Android embedding Java APIs description: Deletion of the Android v1 embedding. --- From 08b44e63e6877f77f0a8f1cd11151aab991bc33e Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 12:10:15 -0800 Subject: [PATCH 05/12] mostly conform to 80 char line breaks --- .../breaking-changes/v1-android-embedding.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 27034c98ec3..763cec3dfc8 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -6,7 +6,8 @@ description: Deletion of the Android v1 embedding. ## Summary The v1 embedding has been removed in Flutter 3.29.0. -This follows the deprecation described in [Android v1 embedding app and plugin creation deprecation][]. +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 @@ -25,7 +26,8 @@ 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. +If your project references any of the above classes, consult the following +list for instructions on migration. * `io.flutter.app.FlutterActivity` was replaced with `io.flutter.embedding.android.FlutterActivity`. * `io.flutter.app.FlutterActivityDelegate` was replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. @@ -45,9 +47,10 @@ If your project references any of the above classes, consult the following list ## Plugin authors -Plugins which are still supporting v1 embedding Flutter apps through the inclusion of the method -with the signature +Plugins which are still supporting v1 embedding Flutter apps through the +inclusion of the method with the signature ``` public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar) ``` -in their implementation of the `FlutterPlugin` interface should remove this method. \ No newline at end of file +in their implementation of the `FlutterPlugin` interface should remove this +method. \ No newline at end of file From f55219c0cda4ffcff77e928151c6a80d16eba231 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 12:20:26 -0800 Subject: [PATCH 06/12] code block types --- .../breaking-changes/v1-android-embedding.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 763cec3dfc8..66772451f6f 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -9,11 +9,11 @@ The 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 +```text +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 @@ -49,8 +49,8 @@ list for instructions on migration. Plugins which are still supporting v1 embedding Flutter apps through the inclusion of the method with the signature -``` -public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar) +```java +public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar); ``` in their implementation of the `FlutterPlugin` interface should remove this method. \ No newline at end of file From d78ceb243d7159a37e72bfcca1017d26d6f66954 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 12:27:07 -0800 Subject: [PATCH 07/12] its release/ not releases/ --- src/content/release/breaking-changes/v1-android-embedding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 66772451f6f..73e8f6d8485 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -43,7 +43,7 @@ list for instructions on migration. * `io.flutter.view.FlutterView` was replaced by `io.flutter.embedding.android.FlutterView`. -[Android v1 embedding app and plugin creation deprecation]: /releases/breaking-changes/android-v1-embedding-create-deprecation +[Android v1 embedding app and plugin creation deprecation]: /release/breaking-changes/android-v1-embedding-create-deprecation ## Plugin authors From 9574ce4ba4b1d36d8d96a44f9212bdd936516986 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 15:04:56 -0800 Subject: [PATCH 08/12] loics review --- .../release/breaking-changes/v1-android-embedding.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 73e8f6d8485..eef1b7c1a46 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -5,7 +5,7 @@ description: Deletion of the Android v1 embedding. ## Summary -The v1 embedding has been removed in Flutter 3.29.0. +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. @@ -47,10 +47,11 @@ list for instructions on migration. ## Plugin authors -Plugins which are still supporting v1 embedding Flutter apps through the -inclusion of the method with the signature +Plugins should remove the `registerWith` method from their `FlutterPlugin` +interface implementation: ```java public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar); ``` -in their implementation of the `FlutterPlugin` interface should remove this -method. \ No newline at end of file + +For an example, see the pull request to remove this method from the Flutter team owned +plugins: https://github.com/flutter/packages/pull/6494. \ No newline at end of file From 917067a0dfe5cd22dd18a02ec3fead1bbd5105aa Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 27 Feb 2025 15:07:03 -0800 Subject: [PATCH 09/12] sort of conform again to 80 chars --- src/content/release/breaking-changes/v1-android-embedding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index eef1b7c1a46..2882dd55bd1 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -53,5 +53,5 @@ interface implementation: public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar); ``` -For an example, see the pull request to remove this method from the Flutter team owned -plugins: https://github.com/flutter/packages/pull/6494. \ No newline at end of file +For an example, see the pull request to remove this method from the Flutter +team owned plugins: https://github.com/flutter/packages/pull/6494. \ No newline at end of file From d308972923089731e192af0073e723c4b33aaf12 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Thu, 27 Feb 2025 22:40:57 -0600 Subject: [PATCH 10/12] Minor formatting and wording cleanup --- .../breaking-changes/v1-android-embedding.md | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 2882dd55bd1..4f47aeaebcd 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -5,15 +5,16 @@ description: Deletion of the Android v1 embedding. ## Summary -Android's v1 embedding has been removed in Flutter 3.29.0. -This follows the deprecation described in +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. + ```text -io.flutter.app.FlutterActivity; -io.flutter.app.FlutterActivityDelegate; -io.flutter.app.FlutterActivityEvents; -io.flutter.app.FlutterApplication; +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 @@ -26,13 +27,13 @@ io.flutter.view.FlutterNativeView io.flutter.view.FlutterView ``` -If your project references any of the above classes, consult the following +If your project references any of the above classes, consult the following list for instructions on migration. * `io.flutter.app.FlutterActivity` was replaced with `io.flutter.embedding.android.FlutterActivity`. * `io.flutter.app.FlutterActivityDelegate` was replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. * `io.flutter.app.FlutterActivityEvents` was removed. -* `io.flutter.app.FlutterApplication` was removed. Flutter projects with custom `Application` implementations should instead extend the base `android.app.Application`. +* `io.flutter.app.FlutterApplication` was removed. Flutter projects with custom `Application` implementations should instead extend the base `android.app.Application`. * `io.flutter.app.FlutterFragmentActivity` was replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. * `io.flutter.app.FlutterPlayStoreSplitApplication` was replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. * `io.flutter.app.FlutterPluginRegistry` was removed, as it only served to let plugins support apps using the v1 embedding. @@ -47,11 +48,13 @@ list for instructions on migration. ## Plugin authors -Plugins should remove the `registerWith` method from their `FlutterPlugin` -interface implementation: +Plugins should remove the `registerWith` method from +their `FlutterPlugin` interface implementation: + ```java public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry.Registrar registrar); ``` -For an example, see the pull request to remove this method from the Flutter -team owned plugins: https://github.com/flutter/packages/pull/6494. \ No newline at end of file +For an example of this migration, +check out the pull request to remove this method from the +Flutter team-owned plugins: https://github.com/flutter/packages/pull/6494. From 66f8909fec14efa0ccb87fc9dbddb32df470189a Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Thu, 27 Feb 2025 22:41:12 -0600 Subject: [PATCH 11/12] Add timeline section for removal --- src/content/release/breaking-changes/v1-android-embedding.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 4f47aeaebcd..4dc298219e6 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -58,3 +58,8 @@ public static void registerWith(@NonNull io.flutter.plugin.common.PluginRegistry For an example of this migration, check out the pull request to remove this method from the Flutter team-owned plugins: https://github.com/flutter/packages/pull/6494. + +## Timeline + +Landed in version: 3.28.0-0.1.pre
+In stable release: 3.29 From 1d82ef26f956a512ac0333b34fe40d6d398f7fbe Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Thu, 27 Feb 2025 22:46:21 -0600 Subject: [PATCH 12/12] Split up the list items --- .../breaking-changes/v1-android-embedding.md | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/src/content/release/breaking-changes/v1-android-embedding.md b/src/content/release/breaking-changes/v1-android-embedding.md index 4dc298219e6..41956019d74 100644 --- a/src/content/release/breaking-changes/v1-android-embedding.md +++ b/src/content/release/breaking-changes/v1-android-embedding.md @@ -1,6 +1,7 @@ --- title: Removal of v1 Android embedding Java APIs -description: Deletion of the Android v1 embedding. +description: >- + Learn how to account for the removal of the Android v1 embedding APIs. --- ## Summary @@ -30,19 +31,30 @@ io.flutter.view.FlutterView If your project references any of the above classes, consult the following list for instructions on migration. -* `io.flutter.app.FlutterActivity` was replaced with `io.flutter.embedding.android.FlutterActivity`. -* `io.flutter.app.FlutterActivityDelegate` was replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. +* `io.flutter.app.FlutterActivity` was + replaced with `io.flutter.embedding.android.FlutterActivity`. +* `io.flutter.app.FlutterActivityDelegate` was + replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. * `io.flutter.app.FlutterActivityEvents` was removed. -* `io.flutter.app.FlutterApplication` was removed. Flutter projects with custom `Application` implementations should instead extend the base `android.app.Application`. -* `io.flutter.app.FlutterFragmentActivity` was replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. -* `io.flutter.app.FlutterPlayStoreSplitApplication` was replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. -* `io.flutter.app.FlutterPluginRegistry` was removed, as it only served to let plugins support apps using the v1 embedding. -* `io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry` was removed, as it only served to support let plugins support apps using the v1 embedding. -* `io.flutter.embedding.engine.plugins.shim.ShimRegistrar` was removed, as it only served to support let plugins support apps using the v1 embedding. -* `io.flutter.view.FlutterMain` was replaced by `io.flutter.embedding.engine.loader.FlutterLoader`. -* `io.flutter.view.FlutterNativeView` was replaced by `io.flutter.embedding.android.FlutterView`. -* `io.flutter.view.FlutterView` was replaced by `io.flutter.embedding.android.FlutterView`. - +* `io.flutter.app.FlutterApplication` was removed. + Flutter projects with custom `Application` implementations should + instead extend the base `android.app.Application`. +* `io.flutter.app.FlutterFragmentActivity` was + replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. +* `io.flutter.app.FlutterPlayStoreSplitApplication` was + replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. +* `io.flutter.app.FlutterPluginRegistry` was removed, + as it only served to let plugins support apps using the v1 embedding. +* `io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry` was removed, + as it only served to support let plugins support apps using the v1 embedding. +* `io.flutter.embedding.engine.plugins.shim.ShimRegistrar` was removed, + as it only served to support let plugins support apps using the v1 embedding. +* `io.flutter.view.FlutterMain` was + replaced by `io.flutter.embedding.engine.loader.FlutterLoader`. +* `io.flutter.view.FlutterNativeView` was + replaced by `io.flutter.embedding.android.FlutterView`. +* `io.flutter.view.FlutterView` was + replaced by `io.flutter.embedding.android.FlutterView`. [Android v1 embedding app and plugin creation deprecation]: /release/breaking-changes/android-v1-embedding-create-deprecation