diff --git a/android/src/main/java/com/getcapacitor/community/audio/NativeAudio.java b/android/src/main/java/com/getcapacitor/community/audio/NativeAudio.java index 2bb05c5..0b0035c 100644 --- a/android/src/main/java/com/getcapacitor/community/audio/NativeAudio.java +++ b/android/src/main/java/com/getcapacitor/community/audio/NativeAudio.java @@ -121,6 +121,7 @@ public void configure(PluginCall call) { this.audioManager.abandonAudioFocus(this); } } + call.resolve(); } @PluginMethod diff --git a/ios/Plugin/Plugin.swift b/ios/Plugin/Plugin.swift index caacec3..f393a47 100644 --- a/ios/Plugin/Plugin.swift +++ b/ios/Plugin/Plugin.swift @@ -46,6 +46,7 @@ public class NativeAudio: CAPPlugin { print("Failed to set setCategory audio") } } + call.resolve() } @objc func preload(_ call: CAPPluginCall) {