|
1 | 1 | ---
|
2 | 2 | title: Removal of v1 Android embedding Java APIs
|
3 |
| -description: Deletion of the Android v1 embedding. |
| 3 | +description: >- |
| 4 | + Learn how to account for the removal of the Android v1 embedding APIs. |
4 | 5 | ---
|
5 | 6 |
|
6 | 7 | ## Summary
|
@@ -30,19 +31,30 @@ io.flutter.view.FlutterView
|
30 | 31 | If your project references any of the above classes, consult the following
|
31 | 32 | list for instructions on migration.
|
32 | 33 |
|
33 |
| -* `io.flutter.app.FlutterActivity` was replaced with `io.flutter.embedding.android.FlutterActivity`. |
34 |
| -* `io.flutter.app.FlutterActivityDelegate` was replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. |
| 34 | +* `io.flutter.app.FlutterActivity` was |
| 35 | + replaced with `io.flutter.embedding.android.FlutterActivity`. |
| 36 | +* `io.flutter.app.FlutterActivityDelegate` was |
| 37 | + replaced with `io.flutter.embedding.android.FlutterActivityAndFragmentDelegate`. |
35 | 38 | * `io.flutter.app.FlutterActivityEvents` was removed.
|
36 |
| -* `io.flutter.app.FlutterApplication` was removed. Flutter projects with custom `Application` implementations should instead extend the base `android.app.Application`. |
37 |
| -* `io.flutter.app.FlutterFragmentActivity` was replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. |
38 |
| -* `io.flutter.app.FlutterPlayStoreSplitApplication` was replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. |
39 |
| -* `io.flutter.app.FlutterPluginRegistry` was removed, as it only served to let plugins support apps using the v1 embedding. |
40 |
| -* `io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry` was removed, as it only served to support let plugins support apps using the v1 embedding. |
41 |
| -* `io.flutter.embedding.engine.plugins.shim.ShimRegistrar` was removed, as it only served to support let plugins support apps using the v1 embedding. |
42 |
| -* `io.flutter.view.FlutterMain` was replaced by `io.flutter.embedding.engine.loader.FlutterLoader`. |
43 |
| -* `io.flutter.view.FlutterNativeView` was replaced by `io.flutter.embedding.android.FlutterView`. |
44 |
| -* `io.flutter.view.FlutterView` was replaced by `io.flutter.embedding.android.FlutterView`. |
45 |
| - |
| 39 | +* `io.flutter.app.FlutterApplication` was removed. |
| 40 | + Flutter projects with custom `Application` implementations should |
| 41 | + instead extend the base `android.app.Application`. |
| 42 | +* `io.flutter.app.FlutterFragmentActivity` was |
| 43 | + replaced with `io.flutter.embedding.android.FlutterFragmentActivity`. |
| 44 | +* `io.flutter.app.FlutterPlayStoreSplitApplication` was |
| 45 | + replaced with `io.flutter.embedding.android.FlutterPlayStoreSplitApplication`. |
| 46 | +* `io.flutter.app.FlutterPluginRegistry` was removed, |
| 47 | + as it only served to let plugins support apps using the v1 embedding. |
| 48 | +* `io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry` was removed, |
| 49 | + as it only served to support let plugins support apps using the v1 embedding. |
| 50 | +* `io.flutter.embedding.engine.plugins.shim.ShimRegistrar` was removed, |
| 51 | + as it only served to support let plugins support apps using the v1 embedding. |
| 52 | +* `io.flutter.view.FlutterMain` was |
| 53 | + replaced by `io.flutter.embedding.engine.loader.FlutterLoader`. |
| 54 | +* `io.flutter.view.FlutterNativeView` was |
| 55 | + replaced by `io.flutter.embedding.android.FlutterView`. |
| 56 | +* `io.flutter.view.FlutterView` was |
| 57 | + replaced by `io.flutter.embedding.android.FlutterView`. |
46 | 58 |
|
47 | 59 | [Android v1 embedding app and plugin creation deprecation]: /release/breaking-changes/android-v1-embedding-create-deprecation
|
48 | 60 |
|
|
0 commit comments