diff --git a/android/capacitor/src/main/java/com/getcapacitor/Plugin.java b/android/capacitor/src/main/java/com/getcapacitor/Plugin.java index 7dff82f1df..5dccc054d7 100644 --- a/android/capacitor/src/main/java/com/getcapacitor/Plugin.java +++ b/android/capacitor/src/main/java/com/getcapacitor/Plugin.java @@ -745,9 +745,10 @@ public void removeListener(PluginCall call) { * @param call */ @SuppressWarnings("unused") - @PluginMethod(returnType = PluginMethod.RETURN_NONE) + @PluginMethod(returnType = PluginMethod.RETURN_PROMISE) public void removeAllListeners(PluginCall call) { eventListeners.clear(); + call.resolve(); } /**