Skip to content

Commit

Permalink
Fix plugin registrant reflection path. (flutter#44161) (flutter#13698)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-carroll committed Nov 5, 2019
1 parent 3ea4005 commit 58a6d65
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -248,7 +248,7 @@ private boolean isAttachedToJni() {
*/
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) {
Expand Down

0 comments on commit 58a6d65

Please sign in to comment.