diff --git a/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/Util.java b/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/Util.java index bbe1e4f1..c7ce0534 100755 --- a/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/Util.java +++ b/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/Util.java @@ -328,7 +328,7 @@ public class Util { for (Method method : methods) { if (method.getName().equals(methodName)) { try { - method.invoke(o, args); + return method.invoke(o, args); } catch (IllegalAccessException e) { return null; } catch (InvocationTargetException e) {