diff --git a/android/src/main/java/com/dooboolab.audiorecorderplayer/RNAudioRecorderPlayerModule.kt b/android/src/main/java/com/dooboolab.audiorecorderplayer/RNAudioRecorderPlayerModule.kt index f5ecf749..d0ee567f 100644 --- a/android/src/main/java/com/dooboolab.audiorecorderplayer/RNAudioRecorderPlayerModule.kt +++ b/android/src/main/java/com/dooboolab.audiorecorderplayer/RNAudioRecorderPlayerModule.kt @@ -255,7 +255,7 @@ class RNAudioRecorderPlayerModule(private val reactContext: ReactApplicationCont */ val obj = Arguments.createMap() obj.putInt("duration", mp.duration) - obj.putInt("currentPosition", mp.duration) + obj.putInt("currentPosition", mp.currentPosition) sendEvent(reactContext, "rn-playback", obj) /** * Reset player.