-
InterfaceDescriptionSee https://flutter.cn/go/android-project-migration for migration details.This registrar is for Flutter's v1 embedding. For instructions on migrating a plugin from Flutter's v1 Android embedding to v2, visit http://flutter.cn/go/android-plugin-migrationSee https://flutter.cn/go/android-project-migration for migration details.
-
ClassDescription
FlutterActivity
is the new API that now replaces this class. See https://flutter.cn/go/android-project-migration for more migration details.FlutterActivity
is the new API that now replaces this class andFlutterActivity
. See https://flutter.cn/go/android-project-migration for more migration details.this class is replaced byFlutterFragmentActivity
.See https://flutter.cn/go/android-project-migration for migration instructions.Replaced byFlutterLoader
.FlutterView
is the new API that now replaces this class. See https://flutter.cn/go/android-project-migration for more migration details.FlutterView
is the new API that now replaces this class. See https://flutter.cn/go/android-project-migration for more migration details.
-
MethodDescriptionUse
DartExecutor.getBinaryMessenger()
instead.UseDartExecutor.getBinaryMessenger()
instead.UseDartExecutor.getBinaryMessenger()
instead.UseDartExecutor.getBinaryMessenger()
instead.UseDartExecutor.getBinaryMessenger()
instead.UseDartExecutor.getBinaryMessenger()
instead.UseDartExecutor.getBinaryMessenger()
instead.replaced byFlutterJNI.getVMServiceUri()
.UsegetBinaryMessenger()
,getTextureRegistry()
, orgetPlatformViewRegistry()
instead.See https://flutter.cn/go/android-project-migration for migration details.See https://flutter.cn/go/android-project-migration for migration details.See https://flutter.cn/go/android-project-migration for migration details.Override and useTextureRegistry.SurfaceProducer.Callback.onSurfaceAvailable()
instead.
TextureRegistry.SurfaceProducer.Callback.onSurfaceAvailable()
instead.