Skip to content

Commit cc8efa6

Browse files
fix: configure method not resolving (#94)
Co-authored-by: jcesarmobile <[email protected]>
1 parent 3f0a2e5 commit cc8efa6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: android/src/main/java/com/getcapacitor/community/audio/NativeAudio.java

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void configure(PluginCall call) {
121121
this.audioManager.abandonAudioFocus(this);
122122
}
123123
}
124+
call.resolve();
124125
}
125126

126127
@PluginMethod

Diff for: ios/Plugin/Plugin.swift

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class NativeAudio: CAPPlugin {
4646
print("Failed to set setCategory audio")
4747
}
4848
}
49+
call.resolve()
4950
}
5051

5152
@objc func preload(_ call: CAPPluginCall) {

0 commit comments

Comments
 (0)