mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix plugin registrant reflection path. (#44161) (flutter/engine#13698)
This commit is contained in:
parent
bb82d46bdb
commit
9c4534c7dd
@ -248,7 +248,7 @@ public class FlutterEngine {
|
||||
*/
|
||||
private void registerPlugins() {
|
||||
try {
|
||||
Class<?> generatedPluginRegistrant = Class.forName("io.plugins.GeneratedPluginRegistrant");
|
||||
Class<?> generatedPluginRegistrant = Class.forName("io.flutter.plugins.GeneratedPluginRegistrant");
|
||||
Method registrationMethod = generatedPluginRegistrant.getDeclaredMethod("registerWith", FlutterEngine.class);
|
||||
registrationMethod.invoke(null, this);
|
||||
} catch (Exception e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user