audio_waveforms
audio_waveforms copied to clipboard
setFinishMode() doesn't work on iOS
Describe the bug
A call to setFinishMode never returns. You forget to return the result in the native code.
To Reproduce Steps to reproduce the behavior:
print("Hi");
await controller.setFinishMode(FinishMode.loop);
print("Never reached");
Smartphone (please complete the following information): Any iOS device.
Additional context
In AudioPlayer.swift on line 148, please add this:
result(nil)
This fixes the problem.
I just noticed that you made the same mistake in the android source.
Closing this issue as this has been released