diff --git a/packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt b/packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt index 4228e9639..8a90a87ce 100644 --- a/packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt +++ b/packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt @@ -169,6 +169,10 @@ class AudioplayersPlugin : FlutterPlugin, IUpdateCallback { fun handleSeekComplete(player: WrappedPlayer) { channel.invokeMethod("audio.onSeekComplete", buildArguments(player.playerId)) + channel.invokeMethod( + "audio.onCurrentPosition", + buildArguments(player.playerId, player.getCurrentPosition() ?: 0) + ) } override fun startUpdates() {